models

package
v0.0.0-...-7b99a6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// APIAPITypeRest captures enum value "rest"
	APIAPITypeRest string = "rest"

	// APIAPITypeGraphql captures enum value "graphql"
	APIAPITypeGraphql string = "graphql"
)
View Source
const (

	// AuditEventActionAuthenticated captures enum value "authenticated"
	AuditEventActionAuthenticated string = "authenticated"

	// AuditEventActionAuthorized captures enum value "authorized"
	AuditEventActionAuthorized string = "authorized"

	// AuditEventActionUnauthorized captures enum value "unauthorized"
	AuditEventActionUnauthorized string = "unauthorized"

	// AuditEventActionCreated captures enum value "created"
	AuditEventActionCreated string = "created"

	// AuditEventActionUpdated captures enum value "updated"
	AuditEventActionUpdated string = "updated"

	// AuditEventActionDeleted captures enum value "deleted"
	AuditEventActionDeleted string = "deleted"

	// AuditEventActionGenerated captures enum value "generated"
	AuditEventActionGenerated string = "generated"

	// AuditEventActionRequested captures enum value "requested"
	AuditEventActionRequested string = "requested"

	// AuditEventActionConfirmed captures enum value "confirmed"
	AuditEventActionConfirmed string = "confirmed"

	// AuditEventActionAccepted captures enum value "accepted"
	AuditEventActionAccepted string = "accepted"

	// AuditEventActionRejected captures enum value "rejected"
	AuditEventActionRejected string = "rejected"

	// AuditEventActionRevoked captures enum value "revoked"
	AuditEventActionRevoked string = "revoked"

	// AuditEventActionNotified captures enum value "notified"
	AuditEventActionNotified string = "notified"

	// AuditEventActionIssued captures enum value "issued"
	AuditEventActionIssued string = "issued"

	// AuditEventActionDenied captures enum value "denied"
	AuditEventActionDenied string = "denied"

	// AuditEventActionGranted captures enum value "granted"
	AuditEventActionGranted string = "granted"

	// AuditEventActionAttempted captures enum value "attempted"
	AuditEventActionAttempted string = "attempted"

	// AuditEventActionFailed captures enum value "failed"
	AuditEventActionFailed string = "failed"

	// AuditEventActionSucceeded captures enum value "succeeded"
	AuditEventActionSucceeded string = "succeeded"

	// AuditEventActionSent captures enum value "sent"
	AuditEventActionSent string = "sent"

	// AuditEventActionNotSent captures enum value "not_sent"
	AuditEventActionNotSent string = "not_sent"

	// AuditEventActionExecuted captures enum value "executed"
	AuditEventActionExecuted string = "executed"
)
View Source
const (

	// AuditEventEventSubjectRequest captures enum value "request"
	AuditEventEventSubjectRequest string = "request"

	// AuditEventEventSubjectGatewayRequest captures enum value "gateway_request"
	AuditEventEventSubjectGatewayRequest string = "gateway_request"

	// AuditEventEventSubjectGatewayPolicy captures enum value "gateway_policy"
	AuditEventEventSubjectGatewayPolicy string = "gateway_policy"

	// AuditEventEventSubjectPolicy captures enum value "policy"
	AuditEventEventSubjectPolicy string = "policy"

	// AuditEventEventSubjectClient captures enum value "client"
	AuditEventEventSubjectClient string = "client"

	// AuditEventEventSubjectCredential captures enum value "credential"
	AuditEventEventSubjectCredential string = "credential"

	// AuditEventEventSubjectLogin captures enum value "login"
	AuditEventEventSubjectLogin string = "login"

	// AuditEventEventSubjectPostAuthn captures enum value "post_authn"
	AuditEventEventSubjectPostAuthn string = "post_authn"

	// AuditEventEventSubjectConsent captures enum value "consent"
	AuditEventEventSubjectConsent string = "consent"

	// AuditEventEventSubjectClientConsents captures enum value "client_consents"
	AuditEventEventSubjectClientConsents string = "client_consents"

	// AuditEventEventSubjectCustomerConsents captures enum value "customer_consents"
	AuditEventEventSubjectCustomerConsents string = "customer_consents"

	// AuditEventEventSubjectAuthorizationCode captures enum value "authorization_code"
	AuditEventEventSubjectAuthorizationCode string = "authorization_code"

	// AuditEventEventSubjectAccessToken captures enum value "access_token"
	AuditEventEventSubjectAccessToken string = "access_token"

	// AuditEventEventSubjectSamlAssertion captures enum value "saml_assertion"
	AuditEventEventSubjectSamlAssertion string = "saml_assertion"

	// AuditEventEventSubjectScopes captures enum value "scopes"
	AuditEventEventSubjectScopes string = "scopes"

	// AuditEventEventSubjectOtp captures enum value "otp"
	AuditEventEventSubjectOtp string = "otp"

	// AuditEventEventSubjectUser captures enum value "user"
	AuditEventEventSubjectUser string = "user"

	// AuditEventEventSubjectSelfuser captures enum value "selfuser"
	AuditEventEventSubjectSelfuser string = "selfuser"

	// AuditEventEventSubjectSchema captures enum value "schema"
	AuditEventEventSubjectSchema string = "schema"

	// AuditEventEventSubjectPool captures enum value "pool"
	AuditEventEventSubjectPool string = "pool"

	// AuditEventEventSubjectPassword captures enum value "password"
	AuditEventEventSubjectPassword string = "password"

	// AuditEventEventSubjectBruteforce captures enum value "bruteforce"
	AuditEventEventSubjectBruteforce string = "bruteforce"

	// AuditEventEventSubjectDcr captures enum value "dcr"
	AuditEventEventSubjectDcr string = "dcr"

	// AuditEventEventSubjectScript captures enum value "script"
	AuditEventEventSubjectScript string = "script"

	// AuditEventEventSubjectRole captures enum value "role"
	AuditEventEventSubjectRole string = "role"

	// AuditEventEventSubjectTask captures enum value "task"
	AuditEventEventSubjectTask string = "task"

	// AuditEventEventSubjectJit captures enum value "jit"
	AuditEventEventSubjectJit string = "jit"

	// AuditEventEventSubjectTokens captures enum value "tokens"
	AuditEventEventSubjectTokens string = "tokens"

	// AuditEventEventSubjectService captures enum value "service"
	AuditEventEventSubjectService string = "service"

	// AuditEventEventSubjectServer captures enum value "server"
	AuditEventEventSubjectServer string = "server"
)
View Source
const (

	// CDRArrangementSharingTypeOneTime captures enum value "one_time"
	CDRArrangementSharingTypeOneTime string = "one_time"

	// CDRArrangementSharingTypeOneTimeWithRefreshToken captures enum value "one_time_with_refresh_token"
	CDRArrangementSharingTypeOneTimeWithRefreshToken string = "one_time_with_refresh_token"

	// CDRArrangementSharingTypeReusable captures enum value "reusable"
	CDRArrangementSharingTypeReusable string = "reusable"
)
View Source
const (

	// ClientAuthorizationEncryptedResponseAlgRSADashOAEP captures enum value "RSA-OAEP"
	ClientAuthorizationEncryptedResponseAlgRSADashOAEP string = "RSA-OAEP"

	// ClientAuthorizationEncryptedResponseAlgRSADashOAEPDash256 captures enum value "RSA-OAEP-256"
	ClientAuthorizationEncryptedResponseAlgRSADashOAEPDash256 string = "RSA-OAEP-256"
)
View Source
const (

	// ClientAuthorizationEncryptedResponseEncA256GCM captures enum value "A256GCM"
	ClientAuthorizationEncryptedResponseEncA256GCM string = "A256GCM"

	// ClientAuthorizationEncryptedResponseEncA128CBCDashHS256 captures enum value "A128CBC-HS256"
	ClientAuthorizationEncryptedResponseEncA128CBCDashHS256 string = "A128CBC-HS256"
)
View Source
const (

	// ClientClientStatusActive captures enum value "active"
	ClientClientStatusActive string = "active"

	// ClientClientStatusInactive captures enum value "inactive"
	ClientClientStatusInactive string = "inactive"
)
View Source
const (

	// ClientClientTypeOauth2 captures enum value "oauth2"
	ClientClientTypeOauth2 string = "oauth2"

	// ClientClientTypeSaml captures enum value "saml"
	ClientClientTypeSaml string = "saml"
)
View Source
const (

	// ClientIDTokenEncryptedResponseAlgRSADashOAEP captures enum value "RSA-OAEP"
	ClientIDTokenEncryptedResponseAlgRSADashOAEP string = "RSA-OAEP"

	// ClientIDTokenEncryptedResponseAlgRSADashOAEPDash256 captures enum value "RSA-OAEP-256"
	ClientIDTokenEncryptedResponseAlgRSADashOAEPDash256 string = "RSA-OAEP-256"
)
View Source
const (

	// ClientIDTokenEncryptedResponseEncA256GCM captures enum value "A256GCM"
	ClientIDTokenEncryptedResponseEncA256GCM string = "A256GCM"

	// ClientIDTokenEncryptedResponseEncA128CBCDashHS256 captures enum value "A128CBC-HS256"
	ClientIDTokenEncryptedResponseEncA128CBCDashHS256 string = "A128CBC-HS256"
)
View Source
const (

	// ClientIDTokenSignedResponseAlgRS256 captures enum value "RS256"
	ClientIDTokenSignedResponseAlgRS256 string = "RS256"

	// ClientIDTokenSignedResponseAlgES256 captures enum value "ES256"
	ClientIDTokenSignedResponseAlgES256 string = "ES256"

	// ClientIDTokenSignedResponseAlgPS256 captures enum value "PS256"
	ClientIDTokenSignedResponseAlgPS256 string = "PS256"
)
View Source
const (

	// ClientIntrospectionEndpointAuthMethodClientSecretBasic captures enum value "client_secret_basic"
	ClientIntrospectionEndpointAuthMethodClientSecretBasic string = "client_secret_basic"

	// ClientIntrospectionEndpointAuthMethodClientSecretPost captures enum value "client_secret_post"
	ClientIntrospectionEndpointAuthMethodClientSecretPost string = "client_secret_post"

	// ClientIntrospectionEndpointAuthMethodClientSecretJwt captures enum value "client_secret_jwt"
	ClientIntrospectionEndpointAuthMethodClientSecretJwt string = "client_secret_jwt"

	// ClientIntrospectionEndpointAuthMethodPrivateKeyJwt captures enum value "private_key_jwt"
	ClientIntrospectionEndpointAuthMethodPrivateKeyJwt string = "private_key_jwt"

	// ClientIntrospectionEndpointAuthMethodSelfSignedTLSClientAuth captures enum value "self_signed_tls_client_auth"
	ClientIntrospectionEndpointAuthMethodSelfSignedTLSClientAuth string = "self_signed_tls_client_auth"

	// ClientIntrospectionEndpointAuthMethodTLSClientAuth captures enum value "tls_client_auth"
	ClientIntrospectionEndpointAuthMethodTLSClientAuth string = "tls_client_auth"

	// ClientIntrospectionEndpointAuthMethodNone captures enum value "none"
	ClientIntrospectionEndpointAuthMethodNone string = "none"
)
View Source
const (

	// ClientRequestObjectEncryptionAlgRSADashOAEP captures enum value "RSA-OAEP"
	ClientRequestObjectEncryptionAlgRSADashOAEP string = "RSA-OAEP"

	// ClientRequestObjectEncryptionAlgRSADashOAEPDash256 captures enum value "RSA-OAEP-256"
	ClientRequestObjectEncryptionAlgRSADashOAEPDash256 string = "RSA-OAEP-256"
)
View Source
const (

	// ClientRequestObjectEncryptionEncA256GCM captures enum value "A256GCM"
	ClientRequestObjectEncryptionEncA256GCM string = "A256GCM"

	// ClientRequestObjectEncryptionEncA128CBCDashHS256 captures enum value "A128CBC-HS256"
	ClientRequestObjectEncryptionEncA128CBCDashHS256 string = "A128CBC-HS256"
)
View Source
const (

	// ClientRequestObjectSigningAlgAny captures enum value "any"
	ClientRequestObjectSigningAlgAny string = "any"

	// ClientRequestObjectSigningAlgNone captures enum value "none"
	ClientRequestObjectSigningAlgNone string = "none"

	// ClientRequestObjectSigningAlgRS256 captures enum value "RS256"
	ClientRequestObjectSigningAlgRS256 string = "RS256"

	// ClientRequestObjectSigningAlgES256 captures enum value "ES256"
	ClientRequestObjectSigningAlgES256 string = "ES256"

	// ClientRequestObjectSigningAlgPS256 captures enum value "PS256"
	ClientRequestObjectSigningAlgPS256 string = "PS256"
)
View Source
const (

	// ClientRevocationEndpointAuthMethodClientSecretBasic captures enum value "client_secret_basic"
	ClientRevocationEndpointAuthMethodClientSecretBasic string = "client_secret_basic"

	// ClientRevocationEndpointAuthMethodClientSecretPost captures enum value "client_secret_post"
	ClientRevocationEndpointAuthMethodClientSecretPost string = "client_secret_post"

	// ClientRevocationEndpointAuthMethodClientSecretJwt captures enum value "client_secret_jwt"
	ClientRevocationEndpointAuthMethodClientSecretJwt string = "client_secret_jwt"

	// ClientRevocationEndpointAuthMethodPrivateKeyJwt captures enum value "private_key_jwt"
	ClientRevocationEndpointAuthMethodPrivateKeyJwt string = "private_key_jwt"

	// ClientRevocationEndpointAuthMethodSelfSignedTLSClientAuth captures enum value "self_signed_tls_client_auth"
	ClientRevocationEndpointAuthMethodSelfSignedTLSClientAuth string = "self_signed_tls_client_auth"

	// ClientRevocationEndpointAuthMethodTLSClientAuth captures enum value "tls_client_auth"
	ClientRevocationEndpointAuthMethodTLSClientAuth string = "tls_client_auth"

	// ClientRevocationEndpointAuthMethodNone captures enum value "none"
	ClientRevocationEndpointAuthMethodNone string = "none"
)
View Source
const (

	// ClientSubjectTypePublic captures enum value "public"
	ClientSubjectTypePublic string = "public"

	// ClientSubjectTypePairwise captures enum value "pairwise"
	ClientSubjectTypePairwise string = "pairwise"
)
View Source
const (

	// ClientTokenEndpointAuthMethodClientSecretBasic captures enum value "client_secret_basic"
	ClientTokenEndpointAuthMethodClientSecretBasic string = "client_secret_basic"

	// ClientTokenEndpointAuthMethodClientSecretPost captures enum value "client_secret_post"
	ClientTokenEndpointAuthMethodClientSecretPost string = "client_secret_post"

	// ClientTokenEndpointAuthMethodClientSecretJwt captures enum value "client_secret_jwt"
	ClientTokenEndpointAuthMethodClientSecretJwt string = "client_secret_jwt"

	// ClientTokenEndpointAuthMethodPrivateKeyJwt captures enum value "private_key_jwt"
	ClientTokenEndpointAuthMethodPrivateKeyJwt string = "private_key_jwt"

	// ClientTokenEndpointAuthMethodSelfSignedTLSClientAuth captures enum value "self_signed_tls_client_auth"
	ClientTokenEndpointAuthMethodSelfSignedTLSClientAuth string = "self_signed_tls_client_auth"

	// ClientTokenEndpointAuthMethodTLSClientAuth captures enum value "tls_client_auth"
	ClientTokenEndpointAuthMethodTLSClientAuth string = "tls_client_auth"

	// ClientTokenEndpointAuthMethodNone captures enum value "none"
	ClientTokenEndpointAuthMethodNone string = "none"
)
View Source
const (

	// ClientTokenEndpointAuthSigningAlgRS256 captures enum value "RS256"
	ClientTokenEndpointAuthSigningAlgRS256 string = "RS256"

	// ClientTokenEndpointAuthSigningAlgES256 captures enum value "ES256"
	ClientTokenEndpointAuthSigningAlgES256 string = "ES256"

	// ClientTokenEndpointAuthSigningAlgPS256 captures enum value "PS256"
	ClientTokenEndpointAuthSigningAlgPS256 string = "PS256"

	// ClientTokenEndpointAuthSigningAlgHS256 captures enum value "HS256"
	ClientTokenEndpointAuthSigningAlgHS256 string = "HS256"

	// ClientTokenEndpointAuthSigningAlgEmpty captures enum value ""
	ClientTokenEndpointAuthSigningAlgEmpty string = ""
)
View Source
const (

	// ClientUserinfoSignedResponseAlgNone captures enum value "none"
	ClientUserinfoSignedResponseAlgNone string = "none"

	// ClientUserinfoSignedResponseAlgRS256 captures enum value "RS256"
	ClientUserinfoSignedResponseAlgRS256 string = "RS256"

	// ClientUserinfoSignedResponseAlgES256 captures enum value "ES256"
	ClientUserinfoSignedResponseAlgES256 string = "ES256"
)
View Source
const (

	// EmailSettingsProviderSMTP captures enum value "smtp"
	EmailSettingsProviderSMTP string = "smtp"

	// EmailSettingsProviderEmbedded captures enum value "embedded"
	EmailSettingsProviderEmbedded string = "embedded"
)
View Source
const (

	// FDXConsentRevocationInitiatorDATAACCESSPLATFORM captures enum value "DATA_ACCESS_PLATFORM"
	FDXConsentRevocationInitiatorDATAACCESSPLATFORM string = "DATA_ACCESS_PLATFORM"

	// FDXConsentRevocationInitiatorDATAPROVIDER captures enum value "DATA_PROVIDER"
	FDXConsentRevocationInitiatorDATAPROVIDER string = "DATA_PROVIDER"

	// FDXConsentRevocationInitiatorDATARECIPIENT captures enum value "DATA_RECIPIENT"
	FDXConsentRevocationInitiatorDATARECIPIENT string = "DATA_RECIPIENT"

	// FDXConsentRevocationInitiatorINDIVIDUAL captures enum value "INDIVIDUAL"
	FDXConsentRevocationInitiatorINDIVIDUAL string = "INDIVIDUAL"

	// FDXConsentRevocationInitiatorMERCHANT captures enum value "MERCHANT"
	FDXConsentRevocationInitiatorMERCHANT string = "MERCHANT"

	// FDXConsentRevocationInitiatorVENDOR captures enum value "VENDOR"
	FDXConsentRevocationInitiatorVENDOR string = "VENDOR"
)
View Source
const (

	// FDXConsentRevocationReasonBUSINESSRULE captures enum value "BUSINESS_RULE"
	FDXConsentRevocationReasonBUSINESSRULE string = "BUSINESS_RULE"

	// FDXConsentRevocationReasonUSERACTION captures enum value "USER_ACTION"
	FDXConsentRevocationReasonUSERACTION string = "USER_ACTION"
)
View Source
const (

	// GatewayAPIAPITypeRest captures enum value "rest"
	GatewayAPIAPITypeRest string = "rest"

	// GatewayAPIAPITypeGraphql captures enum value "graphql"
	GatewayAPIAPITypeGraphql string = "graphql"
)
View Source
const (

	// IDPDiscoveryDiscoveryModeDomainMatching captures enum value "domain_matching"
	IDPDiscoveryDiscoveryModeDomainMatching string = "domain_matching"

	// IDPDiscoveryDiscoveryModeScriptExecution captures enum value "script_execution"
	IDPDiscoveryDiscoveryModeScriptExecution string = "script_execution"
)
View Source
const (

	// LicenseLicenseTypeTrial captures enum value "trial"
	LicenseLicenseTypeTrial string = "trial"

	// LicenseLicenseTypeEnterprise captures enum value "enterprise"
	LicenseLicenseTypeEnterprise string = "enterprise"
)
View Source
const (

	// MFAMethodMechanismSms captures enum value "sms"
	MFAMethodMechanismSms string = "sms"

	// MFAMethodMechanismEmail captures enum value "email"
	MFAMethodMechanismEmail string = "email"
)
View Source
const (

	// OIDCSettingsAuthenticationMethodClientSecret captures enum value "client_secret"
	OIDCSettingsAuthenticationMethodClientSecret string = "client_secret"

	// OIDCSettingsAuthenticationMethodPrivateKeyJwt captures enum value "private_key_jwt"
	OIDCSettingsAuthenticationMethodPrivateKeyJwt string = "private_key_jwt"
)
View Source
const (

	// PayloadSettingsFormatJSON captures enum value "json"
	PayloadSettingsFormatJSON string = "json"

	// PayloadSettingsFormatJws captures enum value "jws"
	PayloadSettingsFormatJws string = "jws"
)
View Source
const (

	// Rfc6902PatchOperationOpAdd captures enum value "add"
	Rfc6902PatchOperationOpAdd string = "add"

	// Rfc6902PatchOperationOpRemove captures enum value "remove"
	Rfc6902PatchOperationOpRemove string = "remove"

	// Rfc6902PatchOperationOpReplace captures enum value "replace"
	Rfc6902PatchOperationOpReplace string = "replace"

	// Rfc6902PatchOperationOpMove captures enum value "move"
	Rfc6902PatchOperationOpMove string = "move"

	// Rfc6902PatchOperationOpCopy captures enum value "copy"
	Rfc6902PatchOperationOpCopy string = "copy"

	// Rfc6902PatchOperationOpTest captures enum value "test"
	Rfc6902PatchOperationOpTest string = "test"
)
View Source
const (

	// RoleRoleAdmin captures enum value "admin"
	RoleRoleAdmin string = "admin"

	// RoleRoleBusinessAdmin captures enum value "business_admin"
	RoleRoleBusinessAdmin string = "business_admin"

	// RoleRoleAuditor captures enum value "auditor"
	RoleRoleAuditor string = "auditor"

	// RoleRoleManager captures enum value "manager"
	RoleRoleManager string = "manager"

	// RoleRoleUserManager captures enum value "user_manager"
	RoleRoleUserManager string = "user_manager"

	// RoleRoleMember captures enum value "member"
	RoleRoleMember string = "member"
)
View Source
const (

	// RoleResourceTypeTenant captures enum value "tenant"
	RoleResourceTypeTenant string = "tenant"

	// RoleResourceTypeWorkspace captures enum value "workspace"
	RoleResourceTypeWorkspace string = "workspace"

	// RoleResourceTypeIdentityPool captures enum value "identity_pool"
	RoleResourceTypeIdentityPool string = "identity_pool"
)
View Source
const (

	// RoleSubjectTypeIdentityPoolUser captures enum value "identity_pool_user"
	RoleSubjectTypeIdentityPoolUser string = "identity_pool_user"

	// RoleSubjectTypeIdp captures enum value "idp"
	RoleSubjectTypeIdp string = "idp"
)
View Source
const (

	// SMSSettingsProviderTwilio captures enum value "twilio"
	SMSSettingsProviderTwilio string = "twilio"

	// SMSSettingsProviderEmbedded captures enum value "embedded"
	SMSSettingsProviderEmbedded string = "embedded"
)
View Source
const (

	// ScriptExecutionPointTypePostAuthnCtx captures enum value "post_authn_ctx"
	ScriptExecutionPointTypePostAuthnCtx string = "post_authn_ctx"

	// ScriptExecutionPointTypeAllowedIdpIds captures enum value "allowed_idp_ids"
	ScriptExecutionPointTypeAllowedIdpIds string = "allowed_idp_ids"

	// ScriptExecutionPointTypeTokenMinting captures enum value "token_minting"
	ScriptExecutionPointTypeTokenMinting string = "token_minting"

	// ScriptExecutionPointTypeClientTokenMinting captures enum value "client_token_minting"
	ScriptExecutionPointTypeClientTokenMinting string = "client_token_minting"
)
View Source
const (

	// ServerAccessTokenStrategyJwt captures enum value "jwt"
	ServerAccessTokenStrategyJwt string = "jwt"

	// ServerAccessTokenStrategyOpaque captures enum value "opaque"
	ServerAccessTokenStrategyOpaque string = "opaque"
)
View Source
const (

	// ServerKeyTypeRsa captures enum value "rsa"
	ServerKeyTypeRsa string = "rsa"

	// ServerKeyTypeEcdsa captures enum value "ecdsa"
	ServerKeyTypeEcdsa string = "ecdsa"

	// ServerKeyTypePs captures enum value "ps"
	ServerKeyTypePs string = "ps"
)
View Source
const (

	// ServerProfileDefault captures enum value "default"
	ServerProfileDefault string = "default"

	// ServerProfileDemo captures enum value "demo"
	ServerProfileDemo string = "demo"

	// ServerProfileWorkforce captures enum value "workforce"
	ServerProfileWorkforce string = "workforce"

	// ServerProfileConsumer captures enum value "consumer"
	ServerProfileConsumer string = "consumer"

	// ServerProfilePartners captures enum value "partners"
	ServerProfilePartners string = "partners"

	// ServerProfileThirdParty captures enum value "third_party"
	ServerProfileThirdParty string = "third_party"

	// ServerProfileFapiAdvanced captures enum value "fapi_advanced"
	ServerProfileFapiAdvanced string = "fapi_advanced"

	// ServerProfileFapiRw captures enum value "fapi_rw"
	ServerProfileFapiRw string = "fapi_rw"

	// ServerProfileFapiRo captures enum value "fapi_ro"
	ServerProfileFapiRo string = "fapi_ro"

	// ServerProfileOpenbankingUkFapiAdvanced captures enum value "openbanking_uk_fapi_advanced"
	ServerProfileOpenbankingUkFapiAdvanced string = "openbanking_uk_fapi_advanced"

	// ServerProfileOpenbankingUk captures enum value "openbanking_uk"
	ServerProfileOpenbankingUk string = "openbanking_uk"

	// ServerProfileOpenbankingBr captures enum value "openbanking_br"
	ServerProfileOpenbankingBr string = "openbanking_br"

	// ServerProfileCdrAustralia captures enum value "cdr_australia"
	ServerProfileCdrAustralia string = "cdr_australia"

	// ServerProfileCdrAustraliaFapiRw captures enum value "cdr_australia_fapi_rw"
	ServerProfileCdrAustraliaFapiRw string = "cdr_australia_fapi_rw"

	// ServerProfileFdx captures enum value "fdx"
	ServerProfileFdx string = "fdx"

	// ServerProfileOpenbankingKsa captures enum value "openbanking_ksa"
	ServerProfileOpenbankingKsa string = "openbanking_ksa"

	// ServerProfileFapi20Security captures enum value "fapi_20_security"
	ServerProfileFapi20Security string = "fapi_20_security"

	// ServerProfileFapi20MessageSigning captures enum value "fapi_20_message_signing"
	ServerProfileFapi20MessageSigning string = "fapi_20_message_signing"

	// ServerProfileConnectID captures enum value "connect_id"
	ServerProfileConnectID string = "connect_id"
)
View Source
const (

	// ServerSubjectFormatHash captures enum value "hash"
	ServerSubjectFormatHash string = "hash"

	// ServerSubjectFormatLegacy captures enum value "legacy"
	ServerSubjectFormatLegacy string = "legacy"
)
View Source
const (

	// ServerTypeAdmin captures enum value "admin"
	ServerTypeAdmin string = "admin"

	// ServerTypeDeveloper captures enum value "developer"
	ServerTypeDeveloper string = "developer"

	// ServerTypeSystem captures enum value "system"
	ServerTypeSystem string = "system"

	// ServerTypeRegular captures enum value "regular"
	ServerTypeRegular string = "regular"

	// ServerTypeOrganization captures enum value "organization"
	ServerTypeOrganization string = "organization"
)
View Source
const (

	// ServerDumpAccessTokenStrategyJwt captures enum value "jwt"
	ServerDumpAccessTokenStrategyJwt string = "jwt"

	// ServerDumpAccessTokenStrategyOpaque captures enum value "opaque"
	ServerDumpAccessTokenStrategyOpaque string = "opaque"
)
View Source
const (

	// ServerDumpKeyTypeRsa captures enum value "rsa"
	ServerDumpKeyTypeRsa string = "rsa"

	// ServerDumpKeyTypeEcdsa captures enum value "ecdsa"
	ServerDumpKeyTypeEcdsa string = "ecdsa"

	// ServerDumpKeyTypePs captures enum value "ps"
	ServerDumpKeyTypePs string = "ps"
)
View Source
const (

	// ServerDumpProfileDefault captures enum value "default"
	ServerDumpProfileDefault string = "default"

	// ServerDumpProfileDemo captures enum value "demo"
	ServerDumpProfileDemo string = "demo"

	// ServerDumpProfileWorkforce captures enum value "workforce"
	ServerDumpProfileWorkforce string = "workforce"

	// ServerDumpProfileConsumer captures enum value "consumer"
	ServerDumpProfileConsumer string = "consumer"

	// ServerDumpProfilePartners captures enum value "partners"
	ServerDumpProfilePartners string = "partners"

	// ServerDumpProfileThirdParty captures enum value "third_party"
	ServerDumpProfileThirdParty string = "third_party"

	// ServerDumpProfileFapiAdvanced captures enum value "fapi_advanced"
	ServerDumpProfileFapiAdvanced string = "fapi_advanced"

	// ServerDumpProfileFapiRw captures enum value "fapi_rw"
	ServerDumpProfileFapiRw string = "fapi_rw"

	// ServerDumpProfileFapiRo captures enum value "fapi_ro"
	ServerDumpProfileFapiRo string = "fapi_ro"

	// ServerDumpProfileOpenbankingUkFapiAdvanced captures enum value "openbanking_uk_fapi_advanced"
	ServerDumpProfileOpenbankingUkFapiAdvanced string = "openbanking_uk_fapi_advanced"

	// ServerDumpProfileOpenbankingUk captures enum value "openbanking_uk"
	ServerDumpProfileOpenbankingUk string = "openbanking_uk"

	// ServerDumpProfileOpenbankingBr captures enum value "openbanking_br"
	ServerDumpProfileOpenbankingBr string = "openbanking_br"

	// ServerDumpProfileCdrAustralia captures enum value "cdr_australia"
	ServerDumpProfileCdrAustralia string = "cdr_australia"

	// ServerDumpProfileCdrAustraliaFapiRw captures enum value "cdr_australia_fapi_rw"
	ServerDumpProfileCdrAustraliaFapiRw string = "cdr_australia_fapi_rw"

	// ServerDumpProfileFdx captures enum value "fdx"
	ServerDumpProfileFdx string = "fdx"

	// ServerDumpProfileOpenbankingKsa captures enum value "openbanking_ksa"
	ServerDumpProfileOpenbankingKsa string = "openbanking_ksa"

	// ServerDumpProfileFapi20Security captures enum value "fapi_20_security"
	ServerDumpProfileFapi20Security string = "fapi_20_security"

	// ServerDumpProfileFapi20MessageSigning captures enum value "fapi_20_message_signing"
	ServerDumpProfileFapi20MessageSigning string = "fapi_20_message_signing"

	// ServerDumpProfileConnectID captures enum value "connect_id"
	ServerDumpProfileConnectID string = "connect_id"
)
View Source
const (

	// ServerDumpSubjectFormatHash captures enum value "hash"
	ServerDumpSubjectFormatHash string = "hash"

	// ServerDumpSubjectFormatLegacy captures enum value "legacy"
	ServerDumpSubjectFormatLegacy string = "legacy"
)
View Source
const (

	// ServerDumpTypeAdmin captures enum value "admin"
	ServerDumpTypeAdmin string = "admin"

	// ServerDumpTypeDeveloper captures enum value "developer"
	ServerDumpTypeDeveloper string = "developer"

	// ServerDumpTypeSystem captures enum value "system"
	ServerDumpTypeSystem string = "system"

	// ServerDumpTypeRegular captures enum value "regular"
	ServerDumpTypeRegular string = "regular"

	// ServerDumpTypeOrganization captures enum value "organization"
	ServerDumpTypeOrganization string = "organization"
)
View Source
const (

	// ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeOauth2 captures enum value "oauth2"
	ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeOauth2 string = "oauth2"

	// ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeOidc captures enum value "oidc"
	ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeOidc string = "oidc"

	// ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeSystem captures enum value "system"
	ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeSystem string = "system"

	// ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeUser captures enum value "user"
	ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeUser string = "user"

	// ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeOpenbanking captures enum value "openbanking"
	ServiceWithScopesAndAPIsAndAuthorizationDetailsTypeOpenbanking string = "openbanking"
)
View Source
const (

	// CDRArrangementSpecVersionV1 captures enum value "v1"
	CDRArrangementSpecVersionV1 string = "v1"
)
View Source
const (

	// CustomAppTypePostDashAuthn captures enum value "post-authn"
	CustomAppTypePostDashAuthn string = "post-authn"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type API ¶

type API struct {

	// api type
	// Example: rest
	// Enum: [rest graphql]
	APIType string `json:"api_type,omitempty" yaml:"api_type,omitempty"`

	// if false it is not possible to assign a policy
	CanHavePolicy bool `json:"can_have_policy,omitempty" yaml:"can_have_policy,omitempty"`

	// Data classifications
	DataClassifications []string `json:"data_classifications" yaml:"data_classifications"`

	// graphql schema
	GraphqlSchema string `json:"graphql_schema,omitempty" yaml:"graphql_schema,omitempty"`

	// graphql types
	GraphqlTypes GraphQLTypes `json:"graphql_types,omitempty" yaml:"graphql_types,omitempty"`

	// API id
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// HTTP request method
	// Example: GET
	Method string `json:"method,omitempty" yaml:"method,omitempty"`

	// HTTP request path
	// Example: /pets
	Path string `json:"path,omitempty" yaml:"path,omitempty"`

	// optional id of a policy
	// Example: block
	PolicyID string `json:"policy_id,omitempty" yaml:"policy_id,omitempty"`

	// position of the api in the apis list
	// Example: 1
	Position int64 `json:"position,omitempty" yaml:"position,omitempty"`

	// server id
	// Example: default
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// service id
	// Example: 1
	ServiceID string `json:"service_id,omitempty" yaml:"service_id,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

API API

swagger:model API

func (*API) ContextValidate ¶

func (m *API) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this API based on the context it is used

func (*API) MarshalBinary ¶

func (m *API) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*API) UnmarshalBinary ¶

func (m *API) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*API) Validate ¶

func (m *API) Validate(formats strfmt.Registry) error

Validate validates this API

type APIGroupMetadata ¶

type APIGroupMetadata struct {

	// apigee
	Apigee *ApigeeMetadata `json:"apigee,omitempty" yaml:"apigee,omitempty"`

	// aws
	Aws *AWSMetadata `json:"aws,omitempty" yaml:"aws,omitempty"`

	// azure
	Azure *AzureMetadata `json:"azure,omitempty" yaml:"azure,omitempty"`

	// Gateway type
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

APIGroupMetadata API group metadata

swagger:model APIGroupMetadata

func (*APIGroupMetadata) ContextValidate ¶

func (m *APIGroupMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this API group metadata based on the context it is used

func (*APIGroupMetadata) MarshalBinary ¶

func (m *APIGroupMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIGroupMetadata) UnmarshalBinary ¶

func (m *APIGroupMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIGroupMetadata) Validate ¶

func (m *APIGroupMetadata) Validate(formats strfmt.Registry) error

Validate validates this API group metadata

type AWSMetadata ¶

type AWSMetadata struct {

	// api id
	APIID string `json:"api_id,omitempty" yaml:"api_id,omitempty"`

	// api name
	APIName string `json:"api_name,omitempty" yaml:"api_name,omitempty"`

	// stage
	Stage string `json:"stage,omitempty" yaml:"stage,omitempty"`
}

AWSMetadata a w s metadata

swagger:model AWSMetadata

func (*AWSMetadata) ContextValidate ¶

func (m *AWSMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s metadata based on context it is used

func (*AWSMetadata) MarshalBinary ¶

func (m *AWSMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AWSMetadata) UnmarshalBinary ¶

func (m *AWSMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AWSMetadata) Validate ¶

func (m *AWSMetadata) Validate(formats strfmt.Registry) error

Validate validates this a w s metadata

type AdvancedConfiguration ¶

type AdvancedConfiguration struct {

	// Configurable ACR values to enforce during auth flow
	AcrValues []string `json:"acr_values" yaml:"acr_values"`

	// This option overrides all urls advertised by the well known endpoint with their mtls alias
	AdvertiseOnlyMtlsAliasesInWellKnown bool `json:"advertise_only_mtls_aliases_in_well_known,omitempty" yaml:"advertise_only_mtls_aliases_in_well_known,omitempty"`

	// Block response modes
	BlockResponseModes bool `json:"block_response_modes,omitempty" yaml:"block_response_modes,omitempty"`

	// Disable certificate-bound access tokens for new DCR clients
	//
	// If true, new DCR clients are created with CertificateBoundAccessToken disabled.
	DisableDcrClientCertificateBoundAccessTokens bool `` /* 135-byte string literal not displayed */

	// Disable PAR
	DisablePar bool `json:"disable_par,omitempty" yaml:"disable_par,omitempty"`

	// Disable RAR
	DisableRar bool `json:"disable_rar,omitempty" yaml:"disable_rar,omitempty"`

	// Disable refresh token cycling
	//
	// Once disabled, original refresh token can be constantly used to issue new access token.
	DisableRefreshTokenCycling bool `json:"disable_refresh_token_cycling,omitempty" yaml:"disable_refresh_token_cycling,omitempty"`

	// When enabled, the authorization server will not accept access tokens supplied in the request query parameter
	// for protected resources endpoints.
	DisallowAccessTokenInQueryForProtectedResources bool `` /* 143-byte string literal not displayed */

	// Disallow code response type without JARM
	DisallowCodeResponseTypeWithoutJarm bool `json:"disallow_code_response_type_without_jarm,omitempty" yaml:"disallow_code_response_type_without_jarm,omitempty"`

	// disallowed response modes
	DisallowedResponseModes ResponseModes `json:"disallowed_response_modes,omitempty" yaml:"disallowed_response_modes,omitempty"`

	// Enforce acr values
	EnforceAcrValues bool `json:"enforce_acr_values,omitempty" yaml:"enforce_acr_values,omitempty"`

	// Ignore unknown scopes for DCR
	//
	// If enabled, an attempt to register or update a client with a scope that does not exist in the server will succeed.
	IgnoreUnknownScopesForDcr bool `json:"ignore_unknown_scopes_for_dcr,omitempty" yaml:"ignore_unknown_scopes_for_dcr,omitempty"`

	// Require request or request uri parameter for authorization flow
	RequireRequestOrRequestURIParameter bool `json:"require_request_or_request_uri_parameter,omitempty" yaml:"require_request_or_request_uri_parameter,omitempty"`

	// Return iss parameter in the authorization response
	ReturnIssParameterInAuthorizationResponse bool `` /* 127-byte string literal not displayed */
}

AdvancedConfiguration advanced configuration

swagger:model AdvancedConfiguration

func (*AdvancedConfiguration) ContextValidate ¶

func (m *AdvancedConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this advanced configuration based on the context it is used

func (*AdvancedConfiguration) MarshalBinary ¶

func (m *AdvancedConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdvancedConfiguration) UnmarshalBinary ¶

func (m *AdvancedConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdvancedConfiguration) Validate ¶

func (m *AdvancedConfiguration) Validate(formats strfmt.Registry) error

Validate validates this advanced configuration

type AffiliationDescriptor ¶

type AffiliationDescriptor struct {

	// affiliate members
	AffiliateMembers []string `json:"AffiliateMembers" yaml:"AffiliateMembers"`

	// affiliation owner ID
	AffiliationOwnerID string `json:"AffiliationOwnerID,omitempty" yaml:"AffiliationOwnerID,omitempty"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`
}

AffiliationDescriptor AffiliationDescriptor represents the SAML AffiliationDescriptor object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.5

swagger:model AffiliationDescriptor

func (*AffiliationDescriptor) ContextValidate ¶

func (m *AffiliationDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this affiliation descriptor based on the context it is used

func (*AffiliationDescriptor) MarshalBinary ¶

func (m *AffiliationDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AffiliationDescriptor) UnmarshalBinary ¶

func (m *AffiliationDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AffiliationDescriptor) Validate ¶

func (m *AffiliationDescriptor) Validate(formats strfmt.Registry) error

Validate validates this affiliation descriptor

type ApigeeMetadata ¶

type ApigeeMetadata struct {

	// Apigee environment name. It's a uniqe, immutable name of an environment for a given proxy name.
	// Example: my-default-proxy
	// Required: true
	EnvironmentName string `json:"environment_name" yaml:"environment_name"`

	// Apigee organization name. It's a uniqe, immutable name of an Apigee organization.
	// Example: apigee-x-905913
	// Required: true
	OrganizationName string `json:"organization_name" yaml:"organization_name"`

	// Apigee proxy name. It's a uniqe, immutable name of a proxy for a given organization id.
	// Example: my-default-proxy
	// Required: true
	ProxyName string `json:"proxy_name" yaml:"proxy_name"`
}

ApigeeMetadata apigee metadata

swagger:model ApigeeMetadata

func (*ApigeeMetadata) ContextValidate ¶

func (m *ApigeeMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apigee metadata based on context it is used

func (*ApigeeMetadata) MarshalBinary ¶

func (m *ApigeeMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApigeeMetadata) UnmarshalBinary ¶

func (m *ApigeeMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApigeeMetadata) Validate ¶

func (m *ApigeeMetadata) Validate(formats strfmt.Registry) error

Validate validates this apigee metadata

type Attr ¶

type Attr struct {

	// space
	Space string `json:"Space,omitempty" yaml:"Space,omitempty"`

	// value
	Value string `json:"Value,omitempty" yaml:"Value,omitempty"`
}

Attr An Attr represents a key-value attribute within an XML element.

swagger:model Attr

func (*Attr) ContextValidate ¶

func (m *Attr) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attr based on context it is used

func (*Attr) MarshalBinary ¶

func (m *Attr) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Attr) UnmarshalBinary ¶

func (m *Attr) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Attr) Validate ¶

func (m *Attr) Validate(formats strfmt.Registry) error

Validate validates this attr

type Attribute ¶

type Attribute struct {

	// String represented display name of an attribute
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// Array of Strings represents attribute labels
	Labels []string `json:"labels" yaml:"labels"`

	// String represented variable name of an attribute
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// The data type of an attribute
	//
	// It stores information what kind of data is used as the value of the attribute.
	//
	// Available types: `number`, `string`, `bool`, `object`, `number_array`, `string_array`, `bool_array`, `object_array` or `any`.
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

Attribute Authentication context attribute

swagger:model Attribute

func (*Attribute) ContextValidate ¶

func (m *Attribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attribute based on context it is used

func (*Attribute) MarshalBinary ¶

func (m *Attribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Attribute) UnmarshalBinary ¶

func (m *Attribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Attribute) Validate ¶

func (m *Attribute) Validate(formats strfmt.Registry) error

Validate validates this attribute

type AttributeAuthorityDescriptor ¶

type AttributeAuthorityDescriptor struct {

	// assertion ID request services
	AssertionIDRequestServices []*Endpoint `json:"AssertionIDRequestServices" yaml:"AssertionIDRequestServices"`

	// attribute profiles
	AttributeProfiles []string `json:"AttributeProfiles" yaml:"AttributeProfiles"`

	// attribute services
	AttributeServices []*Endpoint `json:"AttributeServices" yaml:"AttributeServices"`

	// attributes
	Attributes []*Attribute `json:"Attributes" yaml:"Attributes"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact people
	ContactPeople []*ContactPerson `json:"ContactPeople" yaml:"ContactPeople"`

	// error URL
	ErrorURL string `json:"ErrorURL,omitempty" yaml:"ErrorURL,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// name ID formats
	NameIDFormats []NameIDFormat `json:"NameIDFormats" yaml:"NameIDFormats"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// protocol support enumeration
	ProtocolSupportEnumeration string `json:"ProtocolSupportEnumeration,omitempty" yaml:"ProtocolSupportEnumeration,omitempty"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`
}

AttributeAuthorityDescriptor AttributeAuthorityDescriptor represents the SAML AttributeAuthorityDescriptor object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.7

swagger:model AttributeAuthorityDescriptor

func (*AttributeAuthorityDescriptor) ContextValidate ¶

func (m *AttributeAuthorityDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attribute authority descriptor based on the context it is used

func (*AttributeAuthorityDescriptor) MarshalBinary ¶

func (m *AttributeAuthorityDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AttributeAuthorityDescriptor) UnmarshalBinary ¶

func (m *AttributeAuthorityDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AttributeAuthorityDescriptor) Validate ¶

func (m *AttributeAuthorityDescriptor) Validate(formats strfmt.Registry) error

Validate validates this attribute authority descriptor

type AttributeConsumingService ¶

type AttributeConsumingService struct {

	// index
	Index int64 `json:"Index,omitempty" yaml:"Index,omitempty"`

	// is default
	IsDefault bool `json:"IsDefault,omitempty" yaml:"IsDefault,omitempty"`

	// requested attributes
	RequestedAttributes []*RequestedAttribute `json:"RequestedAttributes" yaml:"RequestedAttributes"`

	// service descriptions
	ServiceDescriptions []*LocalizedName `json:"ServiceDescriptions" yaml:"ServiceDescriptions"`

	// service names
	ServiceNames []*LocalizedName `json:"ServiceNames" yaml:"ServiceNames"`
}

AttributeConsumingService AttributeConsumingService represents the SAML AttributeConsumingService object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.4.1

swagger:model AttributeConsumingService

func (*AttributeConsumingService) ContextValidate ¶

func (m *AttributeConsumingService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attribute consuming service based on the context it is used

func (*AttributeConsumingService) MarshalBinary ¶

func (m *AttributeConsumingService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AttributeConsumingService) UnmarshalBinary ¶

func (m *AttributeConsumingService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AttributeConsumingService) Validate ¶

func (m *AttributeConsumingService) Validate(formats strfmt.Registry) error

Validate validates this attribute consuming service

type AttributeValue ¶

type AttributeValue struct {

	// name ID
	NameID *NameID `json:"NameID,omitempty" yaml:"NameID,omitempty"`

	// type
	Type string `json:"Type,omitempty" yaml:"Type,omitempty"`

	// value
	Value string `json:"Value,omitempty" yaml:"Value,omitempty"`
}

AttributeValue AttributeValue represents the SAML element AttributeValue.

See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.3.1.1

swagger:model AttributeValue

func (*AttributeValue) ContextValidate ¶

func (m *AttributeValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attribute value based on the context it is used

func (*AttributeValue) MarshalBinary ¶

func (m *AttributeValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AttributeValue) UnmarshalBinary ¶

func (m *AttributeValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AttributeValue) Validate ¶

func (m *AttributeValue) Validate(formats strfmt.Registry) error

Validate validates this attribute value

type Attributes ¶

type Attributes []*Attribute

Attributes attributes

swagger:model Attributes

func (Attributes) ContextValidate ¶

func (m Attributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attributes based on the context it is used

func (Attributes) Validate ¶

func (m Attributes) Validate(formats strfmt.Registry) error

Validate validates this attributes

type AuditEvent ¶

type AuditEvent struct {

	// action
	// Enum: [authenticated authorized unauthorized created updated deleted generated requested confirmed accepted rejected revoked notified issued denied granted attempted failed succeeded sent not_sent executed]
	Action string `json:"action,omitempty" yaml:"action,omitempty"`

	// event id
	EventID string `json:"event_id,omitempty" yaml:"event_id,omitempty"`

	// event payload
	EventPayload interface{} `json:"event_payload,omitempty" yaml:"event_payload,omitempty"`

	// event subject
	// Enum: [request gateway_request gateway_policy policy client credential login post_authn consent client_consents customer_consents authorization_code access_token saml_assertion scopes otp user selfuser schema pool password bruteforce dcr script role task jit tokens service server]
	EventSubject string `json:"event_subject,omitempty" yaml:"event_subject,omitempty"`

	// event type
	EventType AuditEventType `json:"event_type,omitempty" yaml:"event_type,omitempty"`

	// metadata
	Metadata *AuditEventMetadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// server id
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty" yaml:"timestamp,omitempty"`
}

AuditEvent audit event

swagger:model AuditEvent

func (*AuditEvent) ContextValidate ¶

func (m *AuditEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this audit event based on the context it is used

func (*AuditEvent) MarshalBinary ¶

func (m *AuditEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuditEvent) UnmarshalBinary ¶

func (m *AuditEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuditEvent) Validate ¶

func (m *AuditEvent) Validate(formats strfmt.Registry) error

Validate validates this audit event

type AuditEventMetadata ¶

type AuditEventMetadata struct {

	// Access request actor claims.
	//
	// It's only populated if the token has been issued in token exchange delegation flow.
	ActorClaims map[string]interface{} `json:"actor_claims,omitempty" yaml:"actor_claims,omitempty"`

	// Access request client ID related to an audit event.
	//
	// May be empty when the access is incorrect or missing.
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// ID of the Identity Pool
	IdentityPoolID string `json:"identity_pool_id,omitempty" yaml:"identity_pool_id,omitempty"`

	// Audit event IP address.
	//
	// It's first not empty value from: X-Forwaded-For, X-Real-IP or network socket IP address
	IP string `json:"ip,omitempty" yaml:"ip,omitempty"`

	// Access request may act claims.
	//
	// It's only populated if the token has been issued token with may_act claim.
	MayActClaims map[string]interface{} `json:"may_act_claims,omitempty" yaml:"may_act_claims,omitempty"`

	// Session id
	//
	// Correlation ID in a login process. Returns events related to a particular login process.
	// It's empty for audit events that have been created outside login process.
	SessionID string `json:"session_id,omitempty" yaml:"session_id,omitempty"`

	// Access request subject ID related to a given audit event.
	//
	// May be empty when the access is incorrect or missing.
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// Token signature
	//
	// Signature of a token that was used to perform an action that has published an audit event.
	TokenSignature string `json:"token_signature,omitempty" yaml:"token_signature,omitempty"`

	// Trace ID
	TraceID string `json:"trace_id,omitempty" yaml:"trace_id,omitempty"`

	// User-agent that describes a device name that generated the audit event.
	UserAgent string `json:"user_agent,omitempty" yaml:"user_agent,omitempty"`
}

AuditEventMetadata audit event metadata

swagger:model AuditEventMetadata

func (*AuditEventMetadata) ContextValidate ¶

func (m *AuditEventMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this audit event metadata based on context it is used

func (*AuditEventMetadata) MarshalBinary ¶

func (m *AuditEventMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuditEventMetadata) UnmarshalBinary ¶

func (m *AuditEventMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuditEventMetadata) Validate ¶

func (m *AuditEventMetadata) Validate(formats strfmt.Registry) error

Validate validates this audit event metadata

type AuditEventType ¶

type AuditEventType string

AuditEventType audit event type

swagger:model AuditEventType

func (AuditEventType) ContextValidate ¶

func (m AuditEventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this audit event type based on context it is used

func (AuditEventType) Validate ¶

func (m AuditEventType) Validate(formats strfmt.Registry) error

Validate validates this audit event type

type Auth0Credentials ¶

type Auth0Credentials struct {

	// OAuth client application secret
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

Auth0Credentials Auth0 IDP specific credentials

swagger:model Auth0Credentials

func (*Auth0Credentials) ContextValidate ¶

func (m *Auth0Credentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth0 credentials based on context it is used

func (*Auth0Credentials) MarshalBinary ¶

func (m *Auth0Credentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Auth0Credentials) UnmarshalBinary ¶

func (m *Auth0Credentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Auth0Credentials) Validate ¶

func (m *Auth0Credentials) Validate(formats strfmt.Registry) error

Validate validates this auth0 credentials

type Auth0Settings ¶

type Auth0Settings struct {

	// OAuth client application identifier
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// String represented domain of the Auth0 for your organization
	// Example: dev-318ay013.us.auth0.com
	Domain string `json:"domain,omitempty" yaml:"domain,omitempty"`

	// If enabled, users' data is collected by calling the `userinfo` endpoint.
	GetUserInfo bool `json:"get_user_info,omitempty" yaml:"get_user_info,omitempty"`

	// An array of additional scopes your client requests
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`
}

Auth0Settings Auth0 IDP specific settings

swagger:model Auth0Settings

func (*Auth0Settings) ContextValidate ¶

func (m *Auth0Settings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this auth0 settings based on context it is used

func (*Auth0Settings) MarshalBinary ¶

func (m *Auth0Settings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Auth0Settings) UnmarshalBinary ¶

func (m *Auth0Settings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Auth0Settings) Validate ¶

func (m *Auth0Settings) Validate(formats strfmt.Registry) error

Validate validates this auth0 settings

type AuthenticationContext ¶

type AuthenticationContext map[string]interface{}

AuthenticationContext authentication context

swagger:model AuthenticationContext

func (AuthenticationContext) ContextValidate ¶

func (m AuthenticationContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authentication context based on context it is used

func (AuthenticationContext) Validate ¶

func (m AuthenticationContext) Validate(formats strfmt.Registry) error

Validate validates this authentication context

type AuthenticationContextSettings ¶

type AuthenticationContextSettings struct {

	// attributes
	Attributes []*Attribute `json:"attributes" yaml:"attributes"`
}

AuthenticationContextSettings authentication context settings

swagger:model AuthenticationContextSettings

func (*AuthenticationContextSettings) ContextValidate ¶

func (m *AuthenticationContextSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authentication context settings based on the context it is used

func (*AuthenticationContextSettings) MarshalBinary ¶

func (m *AuthenticationContextSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticationContextSettings) UnmarshalBinary ¶

func (m *AuthenticationContextSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticationContextSettings) Validate ¶

func (m *AuthenticationContextSettings) Validate(formats strfmt.Registry) error

Validate validates this authentication context settings

type AuthnAuthorityDescriptor ¶

type AuthnAuthorityDescriptor struct {

	// assertion ID request services
	AssertionIDRequestServices []*Endpoint `json:"AssertionIDRequestServices" yaml:"AssertionIDRequestServices"`

	// authn query services
	AuthnQueryServices []*Endpoint `json:"AuthnQueryServices" yaml:"AuthnQueryServices"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact people
	ContactPeople []*ContactPerson `json:"ContactPeople" yaml:"ContactPeople"`

	// error URL
	ErrorURL string `json:"ErrorURL,omitempty" yaml:"ErrorURL,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// name ID formats
	NameIDFormats []NameIDFormat `json:"NameIDFormats" yaml:"NameIDFormats"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// protocol support enumeration
	ProtocolSupportEnumeration string `json:"ProtocolSupportEnumeration,omitempty" yaml:"ProtocolSupportEnumeration,omitempty"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`
}

AuthnAuthorityDescriptor AuthnAuthorityDescriptor represents the SAML AuthnAuthorityDescriptor object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.5

swagger:model AuthnAuthorityDescriptor

func (*AuthnAuthorityDescriptor) ContextValidate ¶

func (m *AuthnAuthorityDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authn authority descriptor based on the context it is used

func (*AuthnAuthorityDescriptor) MarshalBinary ¶

func (m *AuthnAuthorityDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthnAuthorityDescriptor) UnmarshalBinary ¶

func (m *AuthnAuthorityDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthnAuthorityDescriptor) Validate ¶

func (m *AuthnAuthorityDescriptor) Validate(formats strfmt.Registry) error

Validate validates this authn authority descriptor

type AuthorizationDetail ¶

type AuthorizationDetail struct {

	// An authorization server (workspace) identifier holding the client application.
	// Example: default
	// Required: true
	AuthorizationServerID string `json:"authorization_server_id" yaml:"authorization_server_id"`

	// Description
	// Example: Authorization detail for payment initiation
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// Authorization detail unique identifier
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// General purpose metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// Display name
	// Example: Payment Initiation
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// schema
	Schema *SupportedJSONSchema `json:"schema,omitempty" yaml:"schema,omitempty"`

	// ID of the tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// type
	// Required: true
	Type *AuthorizationDetailType `json:"type" yaml:"type"`
}

AuthorizationDetail Authorization detail

swagger:model AuthorizationDetail

func (*AuthorizationDetail) ContextValidate ¶

func (m *AuthorizationDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authorization detail based on the context it is used

func (*AuthorizationDetail) MarshalBinary ¶

func (m *AuthorizationDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthorizationDetail) UnmarshalBinary ¶

func (m *AuthorizationDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthorizationDetail) Validate ¶

func (m *AuthorizationDetail) Validate(formats strfmt.Registry) error

Validate validates this authorization detail

type AuthorizationDetailType ¶

type AuthorizationDetailType string

AuthorizationDetailType authorization detail type

swagger:model AuthorizationDetailType

func (AuthorizationDetailType) ContextValidate ¶

func (m AuthorizationDetailType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authorization detail type based on context it is used

func (AuthorizationDetailType) Validate ¶

func (m AuthorizationDetailType) Validate(formats strfmt.Registry) error

Validate validates this authorization detail type

type AzureB2CCredentials ¶

type AzureB2CCredentials struct {

	// Application secret from your Microsoft Azure application settings
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

AzureB2CCredentials Azure IDP B2C specific credentials

swagger:model AzureB2CCredentials

func (*AzureB2CCredentials) ContextValidate ¶

func (m *AzureB2CCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure b2 c credentials based on context it is used

func (*AzureB2CCredentials) MarshalBinary ¶

func (m *AzureB2CCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureB2CCredentials) UnmarshalBinary ¶

func (m *AzureB2CCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureB2CCredentials) Validate ¶

func (m *AzureB2CCredentials) Validate(formats strfmt.Registry) error

Validate validates this azure b2 c credentials

type AzureB2CSettings ¶

type AzureB2CSettings struct {

	// Application ID from your Microsoft Azure B2C application settings
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// Custom domain from your Microsoft Azure application settings when using a custom
	// domain such as with Azure Front Door. This is optional.
	// Example: my.customdomain.com
	CustomDomain string `json:"custom_domain,omitempty" yaml:"custom_domain,omitempty"`

	// If enabled, the groups a user belongs to are collected
	//
	// Groups are collections of users and other principals who share access to resources in
	// Microsoft services or in your app. Microsoft Graph provides APIs that you can use to create
	// and manage different types of groups and group functionality according to your scenario.
	//
	// You can only get groups data if you are entitled to call the Microsoft Graph API.
	// Example: true
	FetchGroups bool `json:"fetch_groups,omitempty" yaml:"fetch_groups,omitempty"`

	// If enabled, users' data is collected from the Microsoft Graph API
	//
	// You can only get user's data if you are entitled to call the Microsoft Graph API.
	GetUser bool `json:"get_user,omitempty" yaml:"get_user,omitempty"`

	// An array of user attributes fetched from the Microsoft Graph API
	GraphUserAttributes []string `json:"graph_user_attributes" yaml:"graph_user_attributes"`

	// String represented group name format used for fetching groups
	//
	// It's value can be either `id` or `name`.
	// Example: id
	GroupNameFormat string `json:"group_name_format,omitempty" yaml:"group_name_format,omitempty"`

	// If enabled, only security groups a user belongs to are collected.
	// Example: true
	OnlySecurityGroups bool `json:"only_security_groups,omitempty" yaml:"only_security_groups,omitempty"`

	// The user flow to be run.
	// Specify the name of a user flow you've created in your Azure AD B2C tenant.
	// Example: b2c_1_sign_in
	Policy string `json:"policy,omitempty" yaml:"policy,omitempty"`

	// An array of additional scopes your client is going to request
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`

	// Directory ID from your Microsoft Azure B2C application settings
	// Example: 123-312-123
	Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
}

AzureB2CSettings Azure AD B2C authentication settings

swagger:model AzureB2CSettings

func (*AzureB2CSettings) ContextValidate ¶

func (m *AzureB2CSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure b2 c settings based on context it is used

func (*AzureB2CSettings) MarshalBinary ¶

func (m *AzureB2CSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureB2CSettings) UnmarshalBinary ¶

func (m *AzureB2CSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureB2CSettings) Validate ¶

func (m *AzureB2CSettings) Validate(formats strfmt.Registry) error

Validate validates this azure b2 c settings

type AzureCredentials ¶

type AzureCredentials struct {

	// Application secret from your Microsoft Azure application settings
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

AzureCredentials Azure IDP specific credentials

swagger:model AzureCredentials

func (*AzureCredentials) ContextValidate ¶

func (m *AzureCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure credentials based on context it is used

func (*AzureCredentials) MarshalBinary ¶

func (m *AzureCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureCredentials) UnmarshalBinary ¶

func (m *AzureCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureCredentials) Validate ¶

func (m *AzureCredentials) Validate(formats strfmt.Registry) error

Validate validates this azure credentials

type AzureMetadata ¶

type AzureMetadata struct {

	// apim id
	ApimID string `json:"apim_id,omitempty" yaml:"apim_id,omitempty"`

	// apim name
	ApimName string `json:"apim_name,omitempty" yaml:"apim_name,omitempty"`
}

AzureMetadata azure metadata

swagger:model AzureMetadata

func (*AzureMetadata) ContextValidate ¶

func (m *AzureMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure metadata based on context it is used

func (*AzureMetadata) MarshalBinary ¶

func (m *AzureMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureMetadata) UnmarshalBinary ¶

func (m *AzureMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureMetadata) Validate ¶

func (m *AzureMetadata) Validate(formats strfmt.Registry) error

Validate validates this azure metadata

type AzureSettings ¶

type AzureSettings struct {

	// Application ID from your Microsoft Azure application settings
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// If enabled, the groups a user belongs to are collected
	//
	// Groups are collections of users and other principals who share access to resources in
	// Microsoft services or in your app. Microsoft Graph provides APIs that you can use to create
	// and manage different types of groups and group functionality according to your scenario.
	//
	// You can only get groups data if you are entitled to call the Microsoft Graph API.
	FetchGroups bool `json:"fetch_groups,omitempty" yaml:"fetch_groups,omitempty"`

	// If enabled, users' data is collected from the Microsoft Graph API
	//
	// You can only get user's data if you are entitled to call the Microsoft Graph API.
	GetUser bool `json:"get_user,omitempty" yaml:"get_user,omitempty"`

	// An array of user attributes fetched from the Microsoft Graph API
	GraphUserAttributes []string `json:"graph_user_attributes" yaml:"graph_user_attributes"`

	// String represented group name format used for fetching groups
	//
	// It's value can be either `id` or `name`.
	GroupNameFormat string `json:"group_name_format,omitempty" yaml:"group_name_format,omitempty"`

	// If enabled, only security groups a user belongs to are collected.
	OnlySecurityGroups bool `json:"only_security_groups,omitempty" yaml:"only_security_groups,omitempty"`

	// An array of additional scopes your client requests
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`

	// Directory ID from your Microsoft Azure application settings
	Tenant string `json:"tenant,omitempty" yaml:"tenant,omitempty"`
}

AzureSettings Azure IDP specific settings

swagger:model AzureSettings

func (*AzureSettings) ContextValidate ¶

func (m *AzureSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure settings based on context it is used

func (*AzureSettings) MarshalBinary ¶

func (m *AzureSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureSettings) UnmarshalBinary ¶

func (m *AzureSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureSettings) Validate ¶

func (m *AzureSettings) Validate(formats strfmt.Registry) error

Validate validates this azure settings

type BruteForceLimit ¶

type BruteForceLimit struct {

	// block duration
	// Example: 1m0s
	// Required: true
	// Format: duration
	BlockDuration strfmt.Duration `json:"block_duration" yaml:"block_duration"`

	// Max number of attempts
	// Example: 5
	// Required: true
	MaxAttempts int64 `json:"max_attempts" yaml:"max_attempts"`

	// protected type
	// Required: true
	ProtectedType *ProtectedType `json:"protected_type" yaml:"protected_type"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`
}

BruteForceLimit brute force limit

swagger:model BruteForceLimit

func (*BruteForceLimit) ContextValidate ¶

func (m *BruteForceLimit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this brute force limit based on the context it is used

func (*BruteForceLimit) MarshalBinary ¶

func (m *BruteForceLimit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BruteForceLimit) UnmarshalBinary ¶

func (m *BruteForceLimit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BruteForceLimit) Validate ¶

func (m *BruteForceLimit) Validate(formats strfmt.Registry) error

Validate validates this brute force limit

type CDRArrangement ¶

type CDRArrangement struct {

	// List of accounts.
	//
	// It can refer to user's bank accounts that can be accessed by your client application in order to provide consumer
	// services.
	AccountIds []string `json:"account_ids" yaml:"account_ids"`

	// amending arrangement id
	AmendingArrangementID CDRArrangementID `json:"amending_arrangement_id,omitempty" yaml:"amending_arrangement_id,omitempty"`

	// Workspace identifier
	// Example: server
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// cdr arrangement id
	CdrArrangementID CDRArrangementID `json:"cdr_arrangement_id,omitempty" yaml:"cdr_arrangement_id,omitempty"`

	// cdr arrangement metadata
	CdrArrangementMetadata *CDRArrangementMetadata `json:"cdr_arrangement_metadata,omitempty" yaml:"cdr_arrangement_metadata,omitempty"`

	// Client application identifier
	// Example: bugkgm23g9kregtu051g
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// Arrangement creation date
	// Example: 2022-07-01T08:52:27.127932Z
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// customer id
	CustomerID CDRCustomerID `json:"customer_id,omitempty" yaml:"customer_id,omitempty"`

	// Arrangement expiration date
	// Example: 2023-03-01T09:02:27.127932Z
	// Format: date-time
	Expiry strfmt.DateTime `json:"expiry,omitempty" yaml:"expiry,omitempty"`

	// The detailed list of scopes voluntarily granted by the user for the client application to access user data.
	ScopeGrants []*ScopeGrant `json:"scope_grants" yaml:"scope_grants"`

	// The rule on how a user shares their data: reuse with a token or without it, or the user allows one-time access.
	// Example: one_time
	// Enum: [one_time one_time_with_refresh_token reusable]
	SharingType string `json:"sharing_type,omitempty" yaml:"sharing_type,omitempty"`

	// Arrangement version.
	// Currently, the version parameter is not used.
	// Example: v1
	// Enum: [v1]
	SpecVersion string `json:"spec_version,omitempty" yaml:"spec_version,omitempty"`

	// status
	Status ConsentStatus `json:"status,omitempty" yaml:"status,omitempty"`

	// Subject identifies an authenticated user.
	// Depending on the workspace configuration, the value can be hashed.
	// Example: 377eb000a87a471291b5a9869930a2422c670b7b6a06f74143eb74a01ed2fbe1
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// Tenant identifier
	// Example: my-company
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// Arrangement last update date
	// Example: 2022-10-01T08:52:27.127932Z
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`
}

CDRArrangement c d r arrangement

swagger:model CDRArrangement

func (*CDRArrangement) ContextValidate ¶

func (m *CDRArrangement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c d r arrangement based on the context it is used

func (*CDRArrangement) MarshalBinary ¶

func (m *CDRArrangement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CDRArrangement) UnmarshalBinary ¶

func (m *CDRArrangement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CDRArrangement) Validate ¶

func (m *CDRArrangement) Validate(formats strfmt.Registry) error

Validate validates this c d r arrangement

type CDRArrangementID ¶

type CDRArrangementID string

CDRArrangementID c d r arrangement ID

swagger:model CDRArrangementID

func (CDRArrangementID) ContextValidate ¶

func (m CDRArrangementID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c d r arrangement ID based on context it is used

func (CDRArrangementID) Validate ¶

func (m CDRArrangementID) Validate(formats strfmt.Registry) error

Validate validates this c d r arrangement ID

type CDRArrangementMetadata ¶

type CDRArrangementMetadata struct {

	// personal details
	PersonalDetails *PersonalDetails `json:"personal_details,omitempty" yaml:"personal_details,omitempty"`

	// revocation channel
	RevocationChannel RevocationChannel `json:"revocation_channel,omitempty" yaml:"revocation_channel,omitempty"`

	// revocation reason
	RevocationReason RevocationReason `json:"revocation_reason,omitempty" yaml:"revocation_reason,omitempty"`
}

CDRArrangementMetadata c d r arrangement metadata

swagger:model CDRArrangementMetadata

func (*CDRArrangementMetadata) ContextValidate ¶

func (m *CDRArrangementMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c d r arrangement metadata based on the context it is used

func (*CDRArrangementMetadata) MarshalBinary ¶

func (m *CDRArrangementMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CDRArrangementMetadata) UnmarshalBinary ¶

func (m *CDRArrangementMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CDRArrangementMetadata) Validate ¶

func (m *CDRArrangementMetadata) Validate(formats strfmt.Registry) error

Validate validates this c d r arrangement metadata

type CDRConfiguration ¶

type CDRConfiguration struct {

	// Flag to enable / disable ADR validation
	// If enabled, register URL must be provided and point to a existing registry
	AdrValidationEnabled bool `json:"adr_validation_enabled,omitempty" yaml:"adr_validation_enabled,omitempty"`

	// brand id
	BrandID string `json:"brand_id,omitempty" yaml:"brand_id,omitempty"`

	// Do not cache trust anchor data, fetch it from registry every time
	// This is useful for testing purposes when the registry might not be fully up when the test is run
	DontCacheTrustAnchorData bool `json:"dont_cache_trust_anchor_data,omitempty" yaml:"dont_cache_trust_anchor_data,omitempty"`

	// industry
	Industry CDRIndustry `json:"industry,omitempty" yaml:"industry,omitempty"`

	// register api version
	RegisterAPIVersion CDRRegisterAPIVersion `json:"register_api_version,omitempty" yaml:"register_api_version,omitempty"`

	// register url
	RegisterURL CDRRegisterURL `json:"register_url,omitempty" yaml:"register_url,omitempty"`

	// Flag to disable register URL validation
	// If enabled, there will be no error message
	// if data from provided register URL can not be fetched
	// It is highly not recommended to use this flag if it is not required
	SkipRegisterURLValidation bool `json:"skip_register_url_validation,omitempty" yaml:"skip_register_url_validation,omitempty"`
}

CDRConfiguration c d r configuration

swagger:model CDRConfiguration

func (*CDRConfiguration) ContextValidate ¶

func (m *CDRConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c d r configuration based on the context it is used

func (*CDRConfiguration) MarshalBinary ¶

func (m *CDRConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CDRConfiguration) UnmarshalBinary ¶

func (m *CDRConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CDRConfiguration) Validate ¶

func (m *CDRConfiguration) Validate(formats strfmt.Registry) error

Validate validates this c d r configuration

type CDRCustomerID ¶

type CDRCustomerID string

CDRCustomerID c d r customer ID

swagger:model CDRCustomerID

func (CDRCustomerID) ContextValidate ¶

func (m CDRCustomerID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c d r customer ID based on context it is used

func (CDRCustomerID) Validate ¶

func (m CDRCustomerID) Validate(formats strfmt.Registry) error

Validate validates this c d r customer ID

type CDRIndustry ¶

type CDRIndustry string

CDRIndustry c d r industry

swagger:model CDRIndustry

func (CDRIndustry) ContextValidate ¶

func (m CDRIndustry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c d r industry based on context it is used

func (CDRIndustry) Validate ¶

func (m CDRIndustry) Validate(formats strfmt.Registry) error

Validate validates this c d r industry

type CDRRegisterAPIVersion ¶

type CDRRegisterAPIVersion string

CDRRegisterAPIVersion c d r register API version

swagger:model CDRRegisterAPIVersion

func (CDRRegisterAPIVersion) ContextValidate ¶

func (m CDRRegisterAPIVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c d r register API version based on context it is used

func (CDRRegisterAPIVersion) Validate ¶

func (m CDRRegisterAPIVersion) Validate(formats strfmt.Registry) error

Validate validates this c d r register API version

type CDRRegisterURL ¶

type CDRRegisterURL string

CDRRegisterURL c d r register URL

swagger:model CDRRegisterURL

func (CDRRegisterURL) ContextValidate ¶

func (m CDRRegisterURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c d r register URL based on context it is used

func (CDRRegisterURL) Validate ¶

func (m CDRRegisterURL) Validate(formats strfmt.Registry) error

Validate validates this c d r register URL

type CIBAAuthenticationService ¶

type CIBAAuthenticationService struct {

	// client id
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// external
	External *ExternalCIBAAuthenticationService `json:"external,omitempty" yaml:"external,omitempty"`

	// server id
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

CIBAAuthenticationService c i b a authentication service

swagger:model CIBAAuthenticationService

func (*CIBAAuthenticationService) ContextValidate ¶

func (m *CIBAAuthenticationService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c i b a authentication service based on the context it is used

func (*CIBAAuthenticationService) MarshalBinary ¶

func (m *CIBAAuthenticationService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CIBAAuthenticationService) UnmarshalBinary ¶

func (m *CIBAAuthenticationService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CIBAAuthenticationService) Validate ¶

func (m *CIBAAuthenticationService) Validate(formats strfmt.Registry) error

Validate validates this c i b a authentication service

type Claim ¶

type Claim struct {

	// authorization server id
	// Example: default
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// unique claim id
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// DeprecatedMapping use SourceType and SourcePath instead
	// claim mapping - path to attribute in authentication context from where claim value should be picked
	// Example: email
	Mapping string `json:"mapping,omitempty" yaml:"mapping,omitempty"`

	// claim name in outgoing id / access token
	// Example: email
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// included in userinfo/introspect endpoints only
	Opaque bool `json:"opaque,omitempty" yaml:"opaque,omitempty"`

	// saml name
	// Example: email
	SamlName string `json:"saml_name,omitempty" yaml:"saml_name,omitempty"`

	// saml name format
	// Example: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
	SamlNameFormat string `json:"saml_name_format,omitempty" yaml:"saml_name_format,omitempty"`

	// list of scopes - when at least one of listed scopes has been granted to a client, then claim will be added to id / access token.
	// In case of empty array claim is always added.
	// Example: ["email","email_verified"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// path to the attribute in source type context where claim value should be picked from
	SourcePath string `json:"source_path,omitempty" yaml:"source_path,omitempty"`

	// source type
	SourceType ClaimSourceType `json:"source_type,omitempty" yaml:"source_type,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	Type ClaimType `json:"type,omitempty" yaml:"type,omitempty"`
}

Claim claim

swagger:model Claim

func (*Claim) ContextValidate ¶

func (m *Claim) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this claim based on the context it is used

func (*Claim) MarshalBinary ¶

func (m *Claim) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Claim) UnmarshalBinary ¶

func (m *Claim) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Claim) Validate ¶

func (m *Claim) Validate(formats strfmt.Registry) error

Validate validates this claim

type ClaimGrant ¶

type ClaimGrant struct {

	// The claim name as it's set initially.
	// Example: email
	ClaimName string `json:"claim_name,omitempty" yaml:"claim_name,omitempty"`

	// Identifier of a client application that is granted with the claim.
	// Example: bugkgm23g9kregtu051g
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// Time when the claim was granted
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// Language
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// Identifier of a server where the client app is hosted.
	// Example: my-server
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// Identifier of a user who granted the claim.
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// Identifier of the tenant where the client app is hosted.
	// Example: my-company
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

ClaimGrant claim grant

swagger:model ClaimGrant

func (*ClaimGrant) ContextValidate ¶

func (m *ClaimGrant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this claim grant based on context it is used

func (*ClaimGrant) MarshalBinary ¶

func (m *ClaimGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClaimGrant) UnmarshalBinary ¶

func (m *ClaimGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClaimGrant) Validate ¶

func (m *ClaimGrant) Validate(formats strfmt.Registry) error

Validate validates this claim grant

type ClaimSourceType ¶

type ClaimSourceType string

ClaimSourceType claim source type

swagger:model ClaimSourceType

func (ClaimSourceType) ContextValidate ¶

func (m ClaimSourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this claim source type based on context it is used

func (ClaimSourceType) Validate ¶

func (m ClaimSourceType) Validate(formats strfmt.Registry) error

Validate validates this claim source type

type ClaimType ¶

type ClaimType string

ClaimType claim type, one of: id_token, access_token, saml_assertion example: id_token

swagger:model ClaimType

func (ClaimType) ContextValidate ¶

func (m ClaimType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this claim type based on context it is used

func (ClaimType) Validate ¶

func (m ClaimType) Validate(formats strfmt.Registry) error

Validate validates this claim type

type Client ¶

type Client struct {

	// The client application type.
	//
	// Client applications can be either of a `web` or `native` types.
	//
	// Web applications include clients like server web applications or service apps.
	//
	// Native applications include single-page applications (SPAs) and mobile or desktop
	// applications.
	//
	// Apply security measures according to the type of your application.
	// Example: web
	ApplicationType string `json:"application_type,omitempty" yaml:"application_type,omitempty"`

	// An array of dynamically calculated application types that can be used for filtering
	// Example: ["single_page","server_web","mobile_desktop","service","legacy","dcr"]
	// Read Only: true
	ApplicationTypes []string `json:"application_types" yaml:"application_types"`

	// Identity of the intended recipients (the audience).
	//
	// Typically, the audience is a single resource server or a list of resource servers.
	//
	// It is considered a good practice to limit the audience of the token for security purposes.
	Audience []string `json:"audience" yaml:"audience"`

	// Authorization details types
	//
	// Indicates what authorization details types the client can use.
	AuthorizationDetailsTypes []AuthorizationDetailType `json:"authorization_details_types" yaml:"authorization_details_types"`

	// Algorithm used for encrypting authorization responses.
	//
	// If both signing and encryption are requested, the response is first signed, and then encrypted.
	// As a result, a Nested JWT is obtained, as defined in JWT [RFC7519].
	//
	// If omitted, no encryption is applied by default.
	// Example: RSA-OAEP-256
	// Enum: [RSA-OAEP RSA-OAEP-256]
	AuthorizationEncryptedResponseAlg string `json:"authorization_encrypted_response_alg,omitempty" yaml:"authorization_encrypted_response_alg,omitempty"`

	// Algorithm used for encrypting authorization responses.
	//
	// With `authorization_encrypted_response_alg` specified, the default value is `A128CBC-HS256`.
	// When `authorization_encrypted_response_enc` is included, `authorization_encrypted_response_alg`
	// MUST also be provided in a request.
	// Example: A128CBC-HS256
	// Enum: [A256GCM A128CBC-HS256]
	AuthorizationEncryptedResponseEnc string `json:"authorization_encrypted_response_enc,omitempty" yaml:"authorization_encrypted_response_enc,omitempty"`

	// An authorization server (workspace) identifier holding the client application.
	// Example: default
	// Required: true
	AuthorizationServerID string `json:"authorization_server_id" yaml:"authorization_server_id"`

	// Algorithm used for signing authorization responses.
	//
	// With this parameter specified, the response is signed using JWS and according to the configured algorithm.
	//
	// `none` isn't allowed.
	// Example: RS256
	AuthorizationSignedResponseAlg string `json:"authorization_signed_response_alg,omitempty" yaml:"authorization_signed_response_alg,omitempty"`

	// OPTIONAL. The JWS alg algorithm value used by the client application to sign authentication requests.
	//
	// When omitted, the client application doesn't send signed authentication requests.
	BackchannelAuthenticationRequestSigningAlg string `` /* 127-byte string literal not displayed */

	// REQUIRED for requests when the client application uses CIBA as an authorization grant type, and the token
	// delivery mode is set to `ping` or `push`.
	//
	// This parameter is the endpoint where an OP (OpenID Provider) posts a notification after end-user authentication.
	//
	// Input: an HTTPS URL.
	BackchannelClientNotificationEndpoint string `json:"backchannel_client_notification_endpoint,omitempty" yaml:"backchannel_client_notification_endpoint,omitempty"`

	// REQUIRED for requests when the client application uses CIBA as an authorization grant type.
	//
	// Input: `poll`, `ping`, or `push`.
	BackchannelTokenDeliveryMode string `json:"backchannel_token_delivery_mode,omitempty" yaml:"backchannel_token_delivery_mode,omitempty"`

	// OPTIONAL. A boolean value indicating the `user_code` parameter support by the client application.
	//
	// If omitted, the default value is `false`.
	//
	// This applies only when the `backchannel_user_code_parameter_supported` OP parameter is `true`.
	BackchannelUserCodeParameter bool `json:"backchannel_user_code_parameter,omitempty" yaml:"backchannel_user_code_parameter,omitempty"`

	// OAuth client application identifier
	//
	// If not provided, a random client ID is generated.
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// The client identifier time of issue.
	//
	// The value is the number of seconds between 1970-01-01T00:00:00Z (UTC) and the date/time of issue.
	ClientIDIssuedAt int64 `json:"client_id_issued_at,omitempty" yaml:"client_id_issued_at,omitempty"`

	// Human-readable name of a client application.
	// Example: My app
	ClientName string `json:"client_name,omitempty" yaml:"client_name,omitempty"`

	// OAuth client secret
	//
	// If not provided, a random client secret is generated.
	// Min Length: 32
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`

	// The client secret expiration time.
	//
	// If the client secret does not expire, `client_secret_expires_at` = `0`.
	ClientSecretExpiresAt int64 `json:"client_secret_expires_at,omitempty" yaml:"client_secret_expires_at,omitempty"`

	// Defines whether the client application is active or not.
	//
	// Only clients with the `Active` status can preform authorization, authentication, and PAR requests.
	// Enum: [active inactive]
	ClientStatus string `json:"client_status,omitempty" yaml:"client_status,omitempty"`

	// client type
	// Enum: [oauth2 saml]
	ClientType string `json:"client_type,omitempty" yaml:"client_type,omitempty"`

	// URI of a client application.
	ClientURI string `json:"client_uri,omitempty" yaml:"client_uri,omitempty"`

	// confirmation
	Confirmation *Confirmation `json:"confirmation,omitempty" yaml:"confirmation,omitempty"`

	// Date when the client application was created.
	// Example: 2022-04-07T19:17:31.323187Z
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// Description of the client application.
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// Optional developer owner of the client application.
	DeveloperID string `json:"developer_id,omitempty" yaml:"developer_id,omitempty"`

	// developer metadata
	DeveloperMetadata Metadata `json:"developer_metadata,omitempty" yaml:"developer_metadata,omitempty"`

	// Boolean value specifying whether the client always uses DPoP for token requests
	// If true, the authorization server will reject token requests from this client that do not contain the DPoP header.
	DpopBoundAccessTokens bool `json:"dpop_bound_access_tokens,omitempty" yaml:"dpop_bound_access_tokens,omitempty"`

	// dynamically registered
	DynamicallyRegistered bool `json:"dynamically_registered,omitempty" yaml:"dynamically_registered,omitempty"`

	// fdx
	Fdx *FDXMetadata `json:"fdx,omitempty" yaml:"fdx,omitempty"`

	// An array of allowed OAuth client grant types.
	//
	// The `grantTypes` array stores OAuth flows that are allowed for a given client application.
	//
	// [Read more](https://cloudentity.com/developers/basics/oauth-grant-types/grant-types-overview/) about grant types.
	// Example: ["password","refresh_token","client_credentials","implicit","authorization_code"]
	GrantTypes []string `json:"grant_types" yaml:"grant_types"`

	// An array of hashed rotated client secrets
	HashedRotatedSecrets []string `json:"hashed_rotated_secrets" yaml:"hashed_rotated_secrets"`

	// Hashed client secret
	//
	// Hashing client secrets provides additional security for your secrets storage as it hides
	// plaintext secrets from being viewed both in the UI and the database.
	HashedSecret string `json:"hashed_secret,omitempty" yaml:"hashed_secret,omitempty"`

	// JWE alg algorithm for encrypting the ID token issued to this client application.
	// Enum: [RSA-OAEP RSA-OAEP-256]
	IDTokenEncryptedResponseAlg string `json:"id_token_encrypted_response_alg,omitempty" yaml:"id_token_encrypted_response_alg,omitempty"`

	// JWE enc algorithm for encrypting the ID token issued to this client application.
	// Enum: [A256GCM A128CBC-HS256]
	IDTokenEncryptedResponseEnc string `json:"id_token_encrypted_response_enc,omitempty" yaml:"id_token_encrypted_response_enc,omitempty"`

	// Algorithm for signing ID tokens issued for a client application.
	//
	// The default value depends on authorization server configuration.
	// Example: ES256
	// Enum: [RS256 ES256 PS256]
	IDTokenSignedResponseAlg string `json:"id_token_signed_response_alg,omitempty" yaml:"id_token_signed_response_alg,omitempty"`

	// An introspection endpoint authentication method configured for the client application (read-only).
	//
	// If empty, the `token_endpoint_auth_method` is used.
	//
	// Cloudentity supports the following client authentication methods:
	// `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`,
	// `self_signed_tls_client_auth`, `tls_client_auth`, `none`.
	//
	// [Read more](https://cloudentity.com/developers/basics/oauth-client-authentication/client-authentication-overview/) about client authentication.
	// Example: client_secret_basic
	// Enum: [client_secret_basic client_secret_post client_secret_jwt private_key_jwt self_signed_tls_client_auth tls_client_auth none]
	IntrospectionEndpointAuthMethod string `json:"introspection_endpoint_auth_method,omitempty" yaml:"introspection_endpoint_auth_method,omitempty"`

	// jwks
	Jwks *ClientJWKs `json:"jwks,omitempty" yaml:"jwks,omitempty"`

	// A URL of JSON Web Key Set with the public keys used by a client application to authenticate to Cloudentity.
	JwksURI string `json:"jwks_uri,omitempty" yaml:"jwks_uri,omitempty"`

	// Logo URI.
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// obbr
	Obbr *OBBRMetadata `json:"obbr,omitempty" yaml:"obbr,omitempty"`

	// External organization identifier. It is a unique string assigned by the CDR Register to identify an Accredited
	// Data Recipient Brand.
	//
	// The value obtained is used as the `aud` claim for message signing, for example, when a JSON Web Token (JWT) is
	// required for authorization, and represents the audience(s) the JWT is intended for.
	// Example: 5647fe90-f6bc-11eb-9a03-0242ac130003
	OrganisationID string `json:"organisation_id,omitempty" yaml:"organisation_id,omitempty"`

	// Policy URL to read about how the profile data is used.
	PolicyURI string `json:"policy_uri,omitempty" yaml:"policy_uri,omitempty"`

	// Array of URLs to which a relying party may request that the user be redirected after a logout has been performed.
	PostLogoutRedirectUris []string `json:"post_logout_redirect_uris" yaml:"post_logout_redirect_uris"`

	// privacy
	Privacy *ClientPrivacy `json:"privacy,omitempty" yaml:"privacy,omitempty"`

	// redirect uris
	RedirectUris RedirectURIs `json:"redirect_uris,omitempty" yaml:"redirect_uris,omitempty"`

	// registration token
	RegistrationToken *RegistrationToken `json:"registration_token,omitempty" yaml:"registration_token,omitempty"`

	// Optional JWE alg algorithm the client is declaring that it may use for encrypting Request Objects
	// Example: RSA-OAEP
	// Enum: [RSA-OAEP RSA-OAEP-256]
	RequestObjectEncryptionAlg string `json:"request_object_encryption_alg,omitempty" yaml:"request_object_encryption_alg,omitempty"`

	// Optional JWE enc algorithm the client is declaring that it may use for encrypting Request Objects
	// When `request_object_encryption_enc` is included, `request_object_encryption_alg` MUST also be provided.
	// Example: A256GCM
	// Enum: [A256GCM A128CBC-HS256]
	RequestObjectEncryptionEnc string `json:"request_object_encryption_enc,omitempty" yaml:"request_object_encryption_enc,omitempty"`

	// Request object signing algorithm for the token endpoint
	//
	// Cloudentity supports signing tokens with the RS256, ES256, and PS256 algorithms. If you do not want
	// to use a signing algorithm, set the value of this parameter to `none`.
	// Example: none
	// Enum: [any none RS256 ES256 PS256]
	RequestObjectSigningAlg string `json:"request_object_signing_alg,omitempty" yaml:"request_object_signing_alg,omitempty"`

	// Array of absolute URIs that points to the Request Object that holds authorization request parameters.
	RequestUris []string `json:"request_uris" yaml:"request_uris"`

	// Boolean parameter indicating whether the only means of initiating an authorization request the client is allowed to use is PAR.
	RequirePushedAuthorizationRequests bool `json:"require_pushed_authorization_requests,omitempty" yaml:"require_pushed_authorization_requests,omitempty"`

	// response types
	ResponseTypes ResponseTypes `json:"response_types,omitempty" yaml:"response_types,omitempty"`

	// A revocation endpoint authentication method configured for the client application (read-only).
	// If empty, the `token_endpoint_auth_method` is used.
	//
	// Cloudentity supports the following client authentication methods:
	// `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`,
	// `self_signed_tls_client_auth`, `tls_client_auth`, `none`.
	//
	// [Read more](https://cloudentity.com/developers/basics/oauth-client-authentication/client-authentication-overview/) about client authentication.
	// Example: client_secret_basic
	// Enum: [client_secret_basic client_secret_post client_secret_jwt private_key_jwt self_signed_tls_client_auth tls_client_auth none]
	RevocationEndpointAuthMethod string `json:"revocation_endpoint_auth_method,omitempty" yaml:"revocation_endpoint_auth_method,omitempty"`

	// An array of rotated OAuth client secrets
	RotatedSecrets []string `json:"rotated_secrets" yaml:"rotated_secrets"`

	// saml metadata
	SamlMetadata *EntityDescriptor `json:"saml_metadata,omitempty" yaml:"saml_metadata,omitempty"`

	// saml service provider id
	SamlServiceProviderID string `json:"saml_service_provider_id,omitempty" yaml:"saml_service_provider_id,omitempty"`

	// Space-separated list of scopes for compatibility with the OAuth specification.
	// Example: email offline_access openid
	Scope string `json:"scope,omitempty" yaml:"scope,omitempty"`

	// An array of string represented scopes assigned to a client application
	// Example: ["email","offline_access","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// OPTIONAL. [A URL using the HTTPS scheme](https://openid.net/specs/openid-connect-registration-1_0.html#SectorIdentifierValidation).
	// It must reference a JSON file with the array of `redirect_uri` values.
	//
	// Pass this parameter when you use multiple domains in your `redirect_uris` or need a mechanism to allow changes in
	// domain without affecting consumer consent.
	//
	// [Read more](https://openid.net/specs/openid-connect-core-1_0.html)
	SectorIdentifierURI string `json:"sector_identifier_uri,omitempty" yaml:"sector_identifier_uri,omitempty"`

	// A unique identifier string (e.g., a Universally Unique Identifier
	// (UUID)) assigned by the client developer or software publisher.
	//
	// The `software_id` MUST remain the same across
	// multiple updates or versions of the same software package. The
	// value of this field is not intended to be human-readable and is
	// usually opaque to the client and authorization server.
	SoftwareID string `json:"software_id,omitempty" yaml:"software_id,omitempty"`

	// A digitally signed or MACed JSON Web Token (JWT) [RFC7519] that
	// asserts metadata values about the client software.  In some cases,
	// a software statement is issued directly by the client
	// developer.  In other cases, a software statement is issued by
	// a third-party organization for use by the client developer.
	//
	// In both cases, the trust relationship the authorization server has
	// with the issuer of the software statement is intended to be used
	// as an input to the evaluation of whether the registration request
	// is accepted.
	//
	// A software statement can be presented to an
	// authorization server as part of the client registration request.
	SoftwareStatement string `json:"software_statement,omitempty" yaml:"software_statement,omitempty"`

	// software statement payload
	SoftwareStatementPayload Metadata `json:"software_statement_payload,omitempty" yaml:"software_statement_payload,omitempty"`

	// A version identifier string for the client software identified by
	// `software_id`. The value of the `software_version` MUST be changed
	// with any update of the client software identified by the same
	// `software_id`.
	SoftwareVersion string `json:"software_version,omitempty" yaml:"software_version,omitempty"`

	// Subject identifier type
	//
	// Stores information if the subject identifier is of the `public` or the `pairwise` type.
	//
	// Subject identifiers identify an end-user. They are locally unique and never reassigned within the Issuer,
	// and are intended to be consumed by client applications. There are two types
	// of subject identifiers: `public` and `pairwise`.
	//
	// For the `public` type, the value of the `sub` (subject) token claim is the same for all clients.
	//
	// For the `pairwise` type, a different `sub` (subject) token claim is provided for each client.
	// Using the `pairwise` subject identifier makes it impossible for client applications to correlate the end-user's
	// activity without their permission.
	// Example: public
	// Enum: [public pairwise]
	SubjectType string `json:"subject_type,omitempty" yaml:"subject_type,omitempty"`

	// Defines whether the client application is a system tenant's application or not.
	System bool `json:"system,omitempty" yaml:"system,omitempty"`

	// ID of a tenant where the client application is added
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// A string containing the value of an expected dNSName SAN entry in the certificate.
	TLSClientAuthSanDNS string `json:"tls_client_auth_san_dns,omitempty" yaml:"tls_client_auth_san_dns,omitempty"`

	// A string containing the value of an expected rfc822Name SAN entry in the certificate.
	TLSClientAuthSanEmail string `json:"tls_client_auth_san_email,omitempty" yaml:"tls_client_auth_san_email,omitempty"`

	// A string representation of an IP address in either dotted decimal notation (for IPv4) or colon-delimited hexadecimal (for IPv6, as defined in [RFC5952]) that is expected to be present as an iPAddress SAN entry in the certificate.
	TLSClientAuthSanIP string `json:"tls_client_auth_san_ip,omitempty" yaml:"tls_client_auth_san_ip,omitempty"`

	// A string containing the value of an expected uniformResourceIdentifier SAN entry in the certificate.
	TLSClientAuthSanURI string `json:"tls_client_auth_san_uri,omitempty" yaml:"tls_client_auth_san_uri,omitempty"`

	// An [RFC4514] string representation of the expected subject distinguished name of the certificate.
	TLSClientAuthSubjectDn string `json:"tls_client_auth_subject_dn,omitempty" yaml:"tls_client_auth_subject_dn,omitempty"`

	// Boolean value indicating server support for mutual TLS client certificate-bound access tokens. If omitted, the default value is "false".
	TLSClientCertificateBoundAccessTokens bool `json:"tls_client_certificate_bound_access_tokens,omitempty" yaml:"tls_client_certificate_bound_access_tokens,omitempty"`

	// Token endpoint authentication method configured for a client application
	//
	// Cloudentity supports the following client authentication methods:
	// `client_secret_basic`, `client_secret_post`, `client_secret_jwt`, `private_key_jwt`,
	// `self_signed_tls_client_auth`, `tls_client_auth`, `none`.
	//
	// To learn more, go to the Authorization Basics > Client Authentication section of this guide.
	// Example: client_secret_basic
	// Enum: [client_secret_basic client_secret_post client_secret_jwt private_key_jwt self_signed_tls_client_auth tls_client_auth none]
	TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty" yaml:"token_endpoint_auth_method,omitempty"`

	// Signing algorithm for the token endpoint
	//
	// This field is optional. If empty, a client can use any algorithm supported by the server (see `token_endpoint_auth_signing_alg_values_supported` in the well-known endpoing).
	//
	// If provided, depending on the server configuration, client can use of one: HS256, RS256, ES256, PS256 algorithms.
	//
	// If your token endpoint authentication is set to the `private_key_jwt` method, the
	// `token_endpoint_auth_signing_alg` parameter must be either RS256, ES256, or PS256.
	//
	// If your token endpoint authentication is set to the `client_secret_jwt` method,
	// the `token_endpoint_auth_signing_alg` parameter must be HS256.
	// Example: ES256
	// Enum: [RS256 ES256 PS256 HS256 ]
	TokenEndpointAuthSigningAlg string `json:"token_endpoint_auth_signing_alg,omitempty" yaml:"token_endpoint_auth_signing_alg,omitempty"`

	// token exchange
	TokenExchange *ClientTokenExchangeConfiguration `json:"token_exchange,omitempty" yaml:"token_exchange,omitempty"`

	// token ttls
	TokenTtls *TokenTTLs `json:"token_ttls,omitempty" yaml:"token_ttls,omitempty"`

	// Terms of Service URL.
	TosURI string `json:"tos_uri,omitempty" yaml:"tos_uri,omitempty"`

	// Defines whether the client application is trusted or not.
	//
	// For trusted clients, consent pages are skipped during the authorization process.
	Trusted bool `json:"trusted,omitempty" yaml:"trusted,omitempty"`

	// Date when the client application was updated.
	// Example: 2022-05-08T01:11:51.1262916Z
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`

	// If enabled the client application will be able to set its own token TTLs.
	UseCustomTokenTtls bool `json:"use_custom_token_ttls,omitempty" yaml:"use_custom_token_ttls,omitempty"`

	// JWS alg algorithm REQUIRED for signing UserInfo Responses.
	//
	// If specified, the response is a JWT serialized and signed with JWS.
	//
	// If omitted, then by default, UserInfo Response returns the Claims
	// as an UTF-8 encoded JSON object using the application/json content-type.
	// Example: none
	// Enum: [none RS256 ES256]
	UserinfoSignedResponseAlg string `json:"userinfo_signed_response_alg,omitempty" yaml:"userinfo_signed_response_alg,omitempty"`
}

Client Defines a client application and its properties.

swagger:model Client

func (*Client) ContextValidate ¶

func (m *Client) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this client based on the context it is used

func (*Client) MarshalBinary ¶

func (m *Client) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Client) UnmarshalBinary ¶

func (m *Client) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Client) Validate ¶

func (m *Client) Validate(formats strfmt.Registry) error

Validate validates this client

type ClientJWK ¶

type ClientJWK struct {

	// The "alg" (algorithm) parameter identifies the algorithm intended for
	// use with the key.  The values used should either be registered in the
	// IANA "JSON Web Signature and Encryption Algorithms" registry
	// established by [JWA] or be a value that contains a Collision-
	// Resistant Name.
	// Example: RS256
	Alg string `json:"alg,omitempty" yaml:"alg,omitempty"`

	// crv
	// Example: P-256
	Crv string `json:"crv,omitempty" yaml:"crv,omitempty"`

	// d
	// Example: T_N8I-6He3M8a7X1vWt6TGIx4xB_GP3Mb4SsZSA4v-orvJzzRiQhLlRR81naWYxfQAYt5isDI6_C2L9bdWo4FFPjGQFvNoRX-_sBJyBI_rl-TBgsZYoUlAj3J92WmY2inbA-PwyJfsaIIDceYBC-eX-xiCu6qMqkZi3MwQAFL6bMdPEM0z4JBcwFT3VdiWAIRUuACWQwrXMq672x7fMuaIaHi7XDGgt1ith23CLfaREmJku9PQcchbt_uEY-hqrFY6ntTtS4paWWQj86xLL94S-Tf6v6xkL918PfLSOTq6XCzxvlFwzBJqApnAhbwqLjpPhgUG04EDRrqrSBc5Y1BLevn6Ip5h1AhessBp3wLkQgz_roeckt-ybvzKTjESMuagnpqLvOT7Y9veIug2MwPJZI2VjczRc1vzMs25XrFQ8DpUy-bNdp89TmvAXwctUMiJdgHloJw23Cv03gIUAkDnsTqZmkpbIf-crpgNKFmQP_EDKoe8p_PXZZgfbRri3NoEVGP7Mk6yEu8LjJhClhZaBNjuWw2-KlBfOA3g79mhfBnkInee5KO9mGR50qPk1V-MorUYNTFMZIm0kFE6eYVWFBwJHLKYhHU34DoiK1VP-svZpC2uAMFNA_UJEwM9CQ2b8qe4-5e9aywMvwcuArRkAB5mBIfOaOJao3mfukKAE
	D string `json:"d,omitempty" yaml:"d,omitempty"`

	// dp
	// Example: G4sPXkc6Ya9y8oJW9_ILj4xuppu0lzi_H7VTkS8xj5SdX3coE0oimYwxIi2emTAue0UOa5dpgFGyBJ4c8tQ2VF402XRugKDTP8akYhFo5tAA77Qe_NmtuYZc3C3m3I24G2GvR5sSDxUyAN2zq8Lfn9EUms6rY3Ob8YeiKkTiBj0
	Dp string `json:"dp,omitempty" yaml:"dp,omitempty"`

	// dq
	// Example: s9lAH9fggBsoFR8Oac2R_E2gw282rT2kGOAhvIllETE1efrA6huUUvMfBcMpn8lqeW6vzznYY5SSQF7pMdC_agI3nG8Ibp1BUb0JUiraRNqUfLhcQb_d9GF4Dh7e74WbRsobRonujTYN1xCaP6TO61jvWrX-L18txXw494Q_cgk
	Dq string `json:"dq,omitempty" yaml:"dq,omitempty"`

	// e
	// Example: AQAB
	E string `json:"e,omitempty" yaml:"e,omitempty"`

	// k
	// Example: GawgguFyGrWKav7AX4VKUg
	K string `json:"k,omitempty" yaml:"k,omitempty"`

	// The "kid" (key ID) parameter is used to match a specific key.  This
	// is used, for instance, to choose among a set of keys within a JWK Set
	// during key rollover.  The structure of the "kid" value is
	// unspecified.  When "kid" values are used within a JWK Set, different
	// keys within the JWK Set SHOULD use distinct "kid" values.  (One
	// example in which different keys might use the same "kid" value is if
	// they have different "kty" (key type) values but are considered to be
	// equivalent alternatives by the application using them.)  The "kid"
	// value is a case-sensitive string.
	// Example: 1603dfe0af8f4596
	Kid string `json:"kid,omitempty" yaml:"kid,omitempty"`

	// The "kty" (key type) parameter identifies the cryptographic algorithm
	// family used with the key, such as "RSA" or "EC". "kty" values should
	// either be registered in the IANA "JSON Web Key Types" registry
	// established by [JWA] or be a value that contains a Collision-
	// Resistant Name.  The "kty" value is a case-sensitive string.
	// Example: RSA
	// Required: true
	Kty string `json:"kty" yaml:"kty"`

	// n
	// Example: vTqrxUyQPl_20aqf5kXHwDZrel-KovIp8s7ewJod2EXHl8tWlRB3_Rem34KwBfqlKQGp1nqah-51H4Jzruqe0cFP58hPEIt6WqrvnmJCXxnNuIB53iX_uUUXXHDHBeaPCSRoNJzNysjoJ30TIUsKBiirhBa7f235PXbKiHducLevV6PcKxJ5cY8zO286qJLBWSPm-OIevwqsIsSIH44Qtm9sioFikhkbLwoqwWORGAY0nl6XvVOlhADdLjBSqSAeT1FPuCDCnXwzCDR8N9IFB_IjdStFkC-rVt2K5BYfPd0c3yFp_vHR15eRd0zJ8XQ7woBC8Vnsac6Et1pKS59pX6256DPWu8UDdEOolKAPgcd_g2NpA76cAaF_jcT80j9KrEzw8Tv0nJBGesuCjPNjGs_KzdkWTUXt23Hn9QJsdc1MZuaW0iqXBepHYfYoqNelzVte117t4BwVp0kUM6we0IqyXClaZgOI8S-WDBw2_Ovdm8e5NmhYAblEVoygcX8Y46oH6bKiaCQfKCFDMcRgChme7AoE1yZZYsPbaG_3IjPrC4LBMHQw8rM9dWjJ8ImjicvZ1pAm0dx-KHCP3y5PVKrxBDf1zSOsBRkOSjB8TPODnJMz6-jd5hTtZxpZPwPoIdCanTZ3ZD6uRBpTmDwtpRGm63UQs1m5FWPwb0T2IF0
	N string `json:"n,omitempty" yaml:"n,omitempty"`

	// p
	// Example: 6NbkXwDWUhi-eR55Cgbf27FkQDDWIamOaDr0rj1q0f1fFEz1W5A_09YvG09Fiv1AO2-D8Rl8gS1Vkz2i0zCSqnyy8A025XOcRviOMK7nIxE4OH_PEsko8dtIrb3TmE2hUXvCkmzw9EsTF1LQBOGC6iusLTXepIC1x9ukCKFZQvdgtEObQ5kzd9Nhq-cdqmSeMVLoxPLd1blviVT9Vm8-y12CtYpeJHOaIDtVPLlBhJiBoPKWg3vxSm4XxIliNOefqegIlsmTIa3MpS6WWlCK3yHhat0Q-rRxDxdyiVdG_wzJvp0Iw_2wms7pe-PgNPYvUWH9JphWP5K38YqEBiJFXQ
	P string `json:"p,omitempty" yaml:"p,omitempty"`

	// q
	// Example: 0A1FmpOWR91_RAWpqreWSavNaZb9nXeKiBo0DQGBz32DbqKqQ8S4aBJmbRhJcctjCLjain-ivut477tAUMmzJwVJDDq2MZFwC9Q-4VYZmFU4HJityQuSzHYe64RjN-E_NQ02TWhG3QGW6roq6c57c99rrUsETwJJiwS8M5p15Miuz53DaOjv-uqqFAFfywN5WkxHbraBcjHtMiQuyQbQqkCFh-oanHkwYNeytsNhTu2mQmwR5DR2roZ2nPiFjC6nsdk-A7E3S3wMzYYFw7jvbWWoYWo9vB40_MY2Y0FYQSqcDzcBIcq_0tnnasf3VW4Fdx6m80RzOb2Fsnln7vKXAQ
	Q string `json:"q,omitempty" yaml:"q,omitempty"`

	// qi
	// Example: GyM_p6JrXySiz1toFgKbWV-JdI3jQ4ypu9rbMWx3rQJBfmt0FoYzgUIZEVFEcOqwemRN81zoDAaa-Bk0KWNGDjJHZDdDmFhW3AN7lI-puxk_mHZGJ11rxyR8O55XLSe3SPmRfKwZI6yU24ZxvQKFYItdldUKGzO6Ia6zTKhAVRU
	Qi string `json:"qi,omitempty" yaml:"qi,omitempty"`

	// Use ("public key use") identifies the intended use of
	// the public key. The "use" parameter is employed to indicate whether
	// a public key is used for encrypting data or verifying the signature
	// on data. Values are commonly "sig" (signature) or "enc" (encryption).
	// Example: sig
	Use string `json:"use,omitempty" yaml:"use,omitempty"`

	// x
	// Example: f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU
	X string `json:"x,omitempty" yaml:"x,omitempty"`

	// The "x5c" (X.509 certificate chain) parameter contains a chain of one
	// or more PKIX certificates [RFC5280].  The certificate chain is
	// represented as a JSON array of certificate value strings.  Each
	// string in the array is a base64-encoded (Section 4 of [RFC4648] --
	// not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.
	// The PKIX certificate containing the key value MUST be the first
	// certificate.
	X5c []string `json:"x5c" yaml:"x5c"`

	// x5t
	// Example: GawgguFyGrWKav7AX4VKUg
	X5t string `json:"x5t,omitempty" yaml:"x5t,omitempty"`

	// x5t s256
	// Example: GawgguFyGrWKav7AX4VKUg
	X5tS256 string `json:"x5t#S256,omitempty" yaml:"x5t#S256,omitempty"`

	// y
	// Example: x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0
	Y string `json:"y,omitempty" yaml:"y,omitempty"`
}

ClientJWK client j w k

swagger:model ClientJWK

func (*ClientJWK) ContextValidate ¶

func (m *ClientJWK) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this client j w k based on context it is used

func (*ClientJWK) MarshalBinary ¶

func (m *ClientJWK) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClientJWK) UnmarshalBinary ¶

func (m *ClientJWK) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClientJWK) Validate ¶

func (m *ClientJWK) Validate(formats strfmt.Registry) error

Validate validates this client j w k

type ClientJWKs ¶

type ClientJWKs struct {

	// keys
	// Example: []
	Keys []*ClientJWK `json:"keys" yaml:"keys"`
}

ClientJWKs client j w ks

swagger:model ClientJWKs

func (*ClientJWKs) ContextValidate ¶

func (m *ClientJWKs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this client j w ks based on the context it is used

func (*ClientJWKs) MarshalBinary ¶

func (m *ClientJWKs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClientJWKs) UnmarshalBinary ¶

func (m *ClientJWKs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClientJWKs) Validate ¶

func (m *ClientJWKs) Validate(formats strfmt.Registry) error

Validate validates this client j w ks

type ClientPrivacy ¶

type ClientPrivacy struct {

	// optional privacy information mapping for scopes
	Scopes map[string]ScopePrivacyInformation `json:"scopes,omitempty" yaml:"scopes,omitempty"`
}

ClientPrivacy client privacy

swagger:model ClientPrivacy

func (*ClientPrivacy) ContextValidate ¶

func (m *ClientPrivacy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this client privacy based on the context it is used

func (*ClientPrivacy) MarshalBinary ¶

func (m *ClientPrivacy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClientPrivacy) UnmarshalBinary ¶

func (m *ClientPrivacy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClientPrivacy) Validate ¶

func (m *ClientPrivacy) Validate(formats strfmt.Registry) error

Validate validates this client privacy

type ClientTokenExchangeConfiguration ¶

type ClientTokenExchangeConfiguration struct {

	// Additional actor token claims
	//
	// Claims from the actor token that will be injected into the exchanged token under the `act` claim.
	//
	// Applies for the token exchange delegation flow only.
	ActorClaims []string `json:"actor_claims" yaml:"actor_claims"`
}

ClientTokenExchangeConfiguration client token exchange configuration

swagger:model ClientTokenExchangeConfiguration

func (*ClientTokenExchangeConfiguration) ContextValidate ¶

func (m *ClientTokenExchangeConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this client token exchange configuration based on context it is used

func (*ClientTokenExchangeConfiguration) MarshalBinary ¶

func (m *ClientTokenExchangeConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClientTokenExchangeConfiguration) UnmarshalBinary ¶

func (m *ClientTokenExchangeConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClientTokenExchangeConfiguration) Validate ¶

Validate validates this client token exchange configuration

type CognitoCredentials ¶

type CognitoCredentials struct {

	// Cognito app client secret from your application settings
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

CognitoCredentials Cognito IDP specific settings

swagger:model CognitoCredentials

func (*CognitoCredentials) ContextValidate ¶

func (m *CognitoCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cognito credentials based on context it is used

func (*CognitoCredentials) MarshalBinary ¶

func (m *CognitoCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CognitoCredentials) UnmarshalBinary ¶

func (m *CognitoCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CognitoCredentials) Validate ¶

func (m *CognitoCredentials) Validate(formats strfmt.Registry) error

Validate validates this cognito credentials

type CognitoSettings ¶

type CognitoSettings struct {

	// Cognito app client ID from your application settings
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// If enabled, additional user data is collected from the `userinfo` Cognito API
	GetUserInfo bool `json:"get_user_info,omitempty" yaml:"get_user_info,omitempty"`

	// Cognito pool ID
	//
	// A user pool is a user directory in Amazon Cognito. It enables your users to sign in to your
	// application through Amazon Cognito. You can find your pool ID in your User Pools > Federated
	// Identities settings.
	PoolID string `json:"pool_id,omitempty" yaml:"pool_id,omitempty"`

	// AWS Region where the user pool is hosted
	// Example: us-east-1
	Region string `json:"region,omitempty" yaml:"region,omitempty"`

	// An array of allowed OAuth scopes which the client requests
	//
	// The following scopes can be allowed for a Cognito application:
	// `phone`, `email`, `openid`, `aws.cognito.signin.user.admin`, `profile`.
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`
}

CognitoSettings Cognito IDP specific settings

swagger:model CognitoSettings

func (*CognitoSettings) ContextValidate ¶

func (m *CognitoSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cognito settings based on context it is used

func (*CognitoSettings) MarshalBinary ¶

func (m *CognitoSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CognitoSettings) UnmarshalBinary ¶

func (m *CognitoSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CognitoSettings) Validate ¶

func (m *CognitoSettings) Validate(formats strfmt.Registry) error

Validate validates this cognito settings

type Confirmation ¶

type Confirmation struct {

	// jkt
	Jkt string `json:"jkt,omitempty" yaml:"jkt,omitempty"`

	// x5t s256
	X5tS256 string `json:"x5t#S256,omitempty" yaml:"x5t#S256,omitempty"`
}

Confirmation confirmation

swagger:model Confirmation

func (*Confirmation) ContextValidate ¶

func (m *Confirmation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this confirmation based on context it is used

func (*Confirmation) MarshalBinary ¶

func (m *Confirmation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Confirmation) UnmarshalBinary ¶

func (m *Confirmation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Confirmation) Validate ¶

func (m *Confirmation) Validate(formats strfmt.Registry) error

Validate validates this confirmation

type Consent struct {

	// flag determining if can user withdrawn consent
	// Example: false
	CanBeWithdrawn bool `json:"can_be_withdrawn,omitempty" yaml:"can_be_withdrawn,omitempty"`

	// consent description
	// Example: End User License Agreement
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// consent unique identifier
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// internal services
	InternalServices []*ConsentService `json:"internal_services" yaml:"internal_services"`

	// consent name
	// Example: EULA
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// PII Categories
	PiiCategories []*PIICategory `json:"pii_categories" yaml:"pii_categories"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// third party services
	ThirdPartyServices []*ConsentService `json:"third_party_services" yaml:"third_party_services"`

	// strategy for upading existing grants, one of: explicitAll, implicitAll, keepCurrent
	// Example: explicitAll
	UpdateExistingGrants string `json:"update_existing_grants,omitempty" yaml:"update_existing_grants,omitempty"`

	// marks the time from which the consent is in use. Can't be set to a future time
	// Example: 2019-12-11T13:44:28.772101Z
	// Format: date-time
	ValidFrom strfmt.DateTime `json:"valid_from,omitempty" yaml:"valid_from,omitempty"`

	// consent version. When a consent is updated, version is incremented.
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

Consent consent

swagger:model Consent

func (*Consent) ContextValidate ¶

func (m *Consent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consent based on the context it is used

func (*Consent) MarshalBinary ¶

func (m *Consent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Consent) UnmarshalBinary ¶

func (m *Consent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Consent) Validate ¶

func (m *Consent) Validate(formats strfmt.Registry) error

Validate validates this consent

type ConsentActionToConsent ¶

type ConsentActionToConsent struct {

	// flag determining if can user withdrawn consent
	// Example: false
	CanBeWithdrawn bool `json:"can_be_withdrawn,omitempty" yaml:"can_be_withdrawn,omitempty"`

	// consent description
	// Example: End User License Agreement
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// consent unique identifier
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// internal services
	InternalServices []*ConsentService `json:"internal_services" yaml:"internal_services"`

	// consent name
	// Example: EULA
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// PII Categories
	PiiCategories []*PIICategory `json:"pii_categories" yaml:"pii_categories"`

	// is consent required
	// Example: false
	Required bool `json:"required,omitempty" yaml:"required,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// third party services
	ThirdPartyServices []*ConsentService `json:"third_party_services" yaml:"third_party_services"`

	// strategy for upading existing grants, one of: explicitAll, implicitAll, keepCurrent
	// Example: explicitAll
	UpdateExistingGrants string `json:"update_existing_grants,omitempty" yaml:"update_existing_grants,omitempty"`

	// marks the time from which the consent is in use. Can't be set to a future time
	// Example: 2019-12-11T13:44:28.772101Z
	// Format: date-time
	ValidFrom strfmt.DateTime `json:"valid_from,omitempty" yaml:"valid_from,omitempty"`

	// consent version. When a consent is updated, version is incremented.
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentActionToConsent consent action to consent

swagger:model ConsentActionToConsent

func (*ConsentActionToConsent) ContextValidate ¶

func (m *ConsentActionToConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consent action to consent based on the context it is used

func (*ConsentActionToConsent) MarshalBinary ¶

func (m *ConsentActionToConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentActionToConsent) UnmarshalBinary ¶

func (m *ConsentActionToConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentActionToConsent) Validate ¶

func (m *ConsentActionToConsent) Validate(formats strfmt.Registry) error

Validate validates this consent action to consent

type ConsentActionWithConsents ¶

type ConsentActionWithConsents struct {

	// consents
	Consents []*ConsentActionToConsent `json:"consents" yaml:"consents"`

	// consent description
	// Example: Consents required by application X
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// unique consent action id
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// consent action name
	// Example: application_x
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

ConsentActionWithConsents consent action with consents

swagger:model ConsentActionWithConsents

func (*ConsentActionWithConsents) ContextValidate ¶

func (m *ConsentActionWithConsents) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consent action with consents based on the context it is used

func (*ConsentActionWithConsents) MarshalBinary ¶

func (m *ConsentActionWithConsents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentActionWithConsents) UnmarshalBinary ¶

func (m *ConsentActionWithConsents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentActionWithConsents) Validate ¶

func (m *ConsentActionWithConsents) Validate(formats strfmt.Registry) error

Validate validates this consent action with consents

type ConsentGrant ¶

type ConsentGrant struct {

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantActID string `json:"consent_grant_act_id,omitempty" yaml:"consent_grant_act_id,omitempty"`

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type, one of: implicit, explicit
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// version
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentGrant consent grant

swagger:model ConsentGrant

func (*ConsentGrant) ContextValidate ¶

func (m *ConsentGrant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consent grant based on context it is used

func (*ConsentGrant) MarshalBinary ¶

func (m *ConsentGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentGrant) UnmarshalBinary ¶

func (m *ConsentGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentGrant) Validate ¶

func (m *ConsentGrant) Validate(formats strfmt.Registry) error

Validate validates this consent grant

type ConsentGrantContext ¶

type ConsentGrantContext struct {

	// json object - device print of the End User's device
	Device map[string]interface{} `json:"device,omitempty" yaml:"device,omitempty"`

	// string in the form of a valid IP v 4 address, represents the current IP of the End User
	// Example: 52.14.142.76
	IP string `json:"ip,omitempty" yaml:"ip,omitempty"`

	// 2 element array of floats - current geolocation of the end-user, the format is [lat, long]
	// Example: [25.2084,55.2719]
	Location []float64 `json:"location" yaml:"location"`
}

ConsentGrantContext consent grant context

swagger:model ConsentGrantContext

func (*ConsentGrantContext) ContextValidate ¶

func (m *ConsentGrantContext) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consent grant context based on context it is used

func (*ConsentGrantContext) MarshalBinary ¶

func (m *ConsentGrantContext) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentGrantContext) UnmarshalBinary ¶

func (m *ConsentGrantContext) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentGrantContext) Validate ¶

func (m *ConsentGrantContext) Validate(formats strfmt.Registry) error

Validate validates this consent grant context

type ConsentGrantedEvent ¶

type ConsentGrantedEvent struct {

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// consent
	Consent *Consent `json:"consent,omitempty" yaml:"consent,omitempty"`

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantActID string `json:"consent_grant_act_id,omitempty" yaml:"consent_grant_act_id,omitempty"`

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type, one of: implicit, explicit
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`

	// version
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentGrantedEvent consent granted event

swagger:model ConsentGrantedEvent

func (*ConsentGrantedEvent) ContextValidate ¶

func (m *ConsentGrantedEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consent granted event based on the context it is used

func (*ConsentGrantedEvent) MarshalBinary ¶

func (m *ConsentGrantedEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentGrantedEvent) UnmarshalBinary ¶

func (m *ConsentGrantedEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentGrantedEvent) Validate ¶

func (m *ConsentGrantedEvent) Validate(formats strfmt.Registry) error

Validate validates this consent granted event

type ConsentRevokedEvent ¶

type ConsentRevokedEvent struct {

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// consent
	Consent *Consent `json:"consent,omitempty" yaml:"consent,omitempty"`

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantActID string `json:"consent_grant_act_id,omitempty" yaml:"consent_grant_act_id,omitempty"`

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type, one of: implicit, explicit
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`

	// version
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentRevokedEvent consent revoked event

swagger:model ConsentRevokedEvent

func (*ConsentRevokedEvent) ContextValidate ¶

func (m *ConsentRevokedEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consent revoked event based on the context it is used

func (*ConsentRevokedEvent) MarshalBinary ¶

func (m *ConsentRevokedEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentRevokedEvent) UnmarshalBinary ¶

func (m *ConsentRevokedEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentRevokedEvent) Validate ¶

func (m *ConsentRevokedEvent) Validate(formats strfmt.Registry) error

Validate validates this consent revoked event

type ConsentService ¶

type ConsentService struct {

	// name
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// purpose
	Purposes []*Purpose `json:"purposes" yaml:"purposes"`
}

ConsentService consent service

swagger:model ConsentService

func (*ConsentService) ContextValidate ¶

func (m *ConsentService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this consent service based on the context it is used

func (*ConsentService) MarshalBinary ¶

func (m *ConsentService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsentService) UnmarshalBinary ¶

func (m *ConsentService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsentService) Validate ¶

func (m *ConsentService) Validate(formats strfmt.Registry) error

Validate validates this consent service

type ConsentStatus ¶

type ConsentStatus string

ConsentStatus consent status

swagger:model ConsentStatus

func (ConsentStatus) ContextValidate ¶

func (m ConsentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consent status based on context it is used

func (ConsentStatus) Validate ¶

func (m ConsentStatus) Validate(formats strfmt.Registry) error

Validate validates this consent status

type ConsentType ¶

type ConsentType string

ConsentType consent type

swagger:model ConsentType

func (ConsentType) ContextValidate ¶

func (m ConsentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consent type based on context it is used

func (ConsentType) Validate ¶

func (m ConsentType) Validate(formats strfmt.Registry) error

Validate validates this consent type

type ContactPerson ¶

type ContactPerson struct {

	// company
	Company string `json:"Company,omitempty" yaml:"Company,omitempty"`

	// contact type
	ContactType string `json:"ContactType,omitempty" yaml:"ContactType,omitempty"`

	// email addresses
	EmailAddresses []string `json:"EmailAddresses" yaml:"EmailAddresses"`

	// given name
	GivenName string `json:"GivenName,omitempty" yaml:"GivenName,omitempty"`

	// sur name
	SurName string `json:"SurName,omitempty" yaml:"SurName,omitempty"`

	// telephone numbers
	TelephoneNumbers []string `json:"TelephoneNumbers" yaml:"TelephoneNumbers"`
}

ContactPerson ContactPerson represents the SAML element ContactPerson.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.2.2

swagger:model ContactPerson

func (*ContactPerson) ContextValidate ¶

func (m *ContactPerson) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this contact person based on context it is used

func (*ContactPerson) MarshalBinary ¶

func (m *ContactPerson) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContactPerson) UnmarshalBinary ¶

func (m *ContactPerson) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContactPerson) Validate ¶

func (m *ContactPerson) Validate(formats strfmt.Registry) error

Validate validates this contact person

type CrossTenantAPIPolicyBinding ¶

type CrossTenantAPIPolicyBinding struct {

	// api id
	APIID string `json:"api_id,omitempty" yaml:"api_id,omitempty"`

	// api tenant id
	// Example: system
	APITenantID string `json:"api_tenant_id,omitempty" yaml:"api_tenant_id,omitempty"`

	// policy id
	PolicyID string `json:"policy_id,omitempty" yaml:"policy_id,omitempty"`

	// policy server id
	// Example: default
	PolicyServerID string `json:"policy_server_id,omitempty" yaml:"policy_server_id,omitempty"`

	// policy tenant id
	// Example: default
	PolicyTenantID string `json:"policy_tenant_id,omitempty" yaml:"policy_tenant_id,omitempty"`
}

CrossTenantAPIPolicyBinding cross tenant API policy binding

swagger:model CrossTenantAPIPolicyBinding

func (*CrossTenantAPIPolicyBinding) ContextValidate ¶

func (m *CrossTenantAPIPolicyBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cross tenant API policy binding based on context it is used

func (*CrossTenantAPIPolicyBinding) MarshalBinary ¶

func (m *CrossTenantAPIPolicyBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrossTenantAPIPolicyBinding) UnmarshalBinary ¶

func (m *CrossTenantAPIPolicyBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrossTenantAPIPolicyBinding) Validate ¶

func (m *CrossTenantAPIPolicyBinding) Validate(formats strfmt.Registry) error

Validate validates this cross tenant API policy binding

type CustomApp ¶

type CustomApp struct {

	// ClientID used for the CustomApp
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// ID of the CustomApp
	// Required: true
	ID string `json:"id" yaml:"id"`

	// Name of the CustomApp
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// ID of the server
	// Required: true
	ServerID string `json:"server_id" yaml:"server_id"`

	// ID of the tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// Type of the custom app
	// Example: post-authn
	// Enum: [post-authn]
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// url of the CustomApp
	// Required: true
	URL string `json:"url" yaml:"url"`
}

CustomApp Custom Branding CustomApp

swagger:model CustomApp

func (*CustomApp) ContextValidate ¶

func (m *CustomApp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this custom app based on context it is used

func (*CustomApp) MarshalBinary ¶

func (m *CustomApp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomApp) UnmarshalBinary ¶

func (m *CustomApp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomApp) Validate ¶

func (m *CustomApp) Validate(formats strfmt.Registry) error

Validate validates this custom app

type CustomCredentials ¶

type CustomCredentials interface{}

CustomCredentials Custom IDP specific credentials

swagger:model CustomCredentials

type CustomRateLimit ¶

type CustomRateLimit struct {

	// max burst
	Burst int64 `json:"burst,omitempty" yaml:"burst,omitempty"`

	// module
	Module RateLimitModule `json:"module,omitempty" yaml:"module,omitempty"`

	// period
	// Format: duration
	Period strfmt.Duration `json:"period,omitempty" yaml:"period,omitempty"`

	// rate
	Rate int64 `json:"rate,omitempty" yaml:"rate,omitempty"`

	// Tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

CustomRateLimit custom rate limit

swagger:model CustomRateLimit

func (*CustomRateLimit) ContextValidate ¶

func (m *CustomRateLimit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom rate limit based on the context it is used

func (*CustomRateLimit) MarshalBinary ¶

func (m *CustomRateLimit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomRateLimit) UnmarshalBinary ¶

func (m *CustomRateLimit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomRateLimit) Validate ¶

func (m *CustomRateLimit) Validate(formats strfmt.Registry) error

Validate validates this custom rate limit

type CustomServerConsent ¶

type CustomServerConsent struct {

	// Deprecetad scope_grant_url. Use server_consent_url instead
	ScopeGrantURL string `json:"scope_grant_url,omitempty" yaml:"scope_grant_url,omitempty"`

	// server consent url
	ServerConsentURL string `json:"server_consent_url,omitempty" yaml:"server_consent_url,omitempty"`
}

CustomServerConsent custom server consent

swagger:model CustomServerConsent

func (*CustomServerConsent) ContextValidate ¶

func (m *CustomServerConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this custom server consent based on context it is used

func (*CustomServerConsent) MarshalBinary ¶

func (m *CustomServerConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomServerConsent) UnmarshalBinary ¶

func (m *CustomServerConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomServerConsent) Validate ¶

func (m *CustomServerConsent) Validate(formats strfmt.Registry) error

Validate validates this custom server consent

type CustomSettings ¶

type CustomSettings struct {

	// URL to your custom login page
	// Example: https://example.com/login
	LoginURL string `json:"login_url,omitempty" yaml:"login_url,omitempty"`

	// Type metadata
	//
	// There are two type metadatas: `generic` and `cloudentity`. If you choose `cloudentity` and do
	// not provide authentication context attributes, it defaults to using the attributes from
	// Cloudentity Cloud Identity Plane (CIP).
	//
	// If not provided, the `generic` type is set.
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

CustomSettings Custom IDP specific settings

swagger:model CustomSettings

func (*CustomSettings) ContextValidate ¶

func (m *CustomSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this custom settings based on context it is used

func (*CustomSettings) MarshalBinary ¶

func (m *CustomSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomSettings) UnmarshalBinary ¶

func (m *CustomSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomSettings) Validate ¶

func (m *CustomSettings) Validate(formats strfmt.Registry) error

Validate validates this custom settings

type DeviceAuthorizationConfiguration ¶

type DeviceAuthorizationConfiguration struct {

	// Custom device authorization request TTL
	// If not provided, TTL is set to 30 minutes
	// Format: duration
	RequestTTL strfmt.Duration `json:"request_ttl,omitempty" yaml:"request_ttl,omitempty"`

	// user code character set
	UserCodeCharacterSet UserCodeCharacterSet `json:"user_code_character_set,omitempty" yaml:"user_code_character_set,omitempty"`

	// user code length
	UserCodeLength int64 `json:"user_code_length,omitempty" yaml:"user_code_length,omitempty"`
}

DeviceAuthorizationConfiguration device authorization configuration

swagger:model DeviceAuthorizationConfiguration

func (*DeviceAuthorizationConfiguration) ContextValidate ¶

func (m *DeviceAuthorizationConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device authorization configuration based on the context it is used

func (*DeviceAuthorizationConfiguration) MarshalBinary ¶

func (m *DeviceAuthorizationConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceAuthorizationConfiguration) UnmarshalBinary ¶

func (m *DeviceAuthorizationConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceAuthorizationConfiguration) Validate ¶

Validate validates this device authorization configuration

type Dump ¶

type Dump struct {

	// apis
	Apis []*API `json:"apis" yaml:"apis"`

	// audit events
	AuditEvents []*AuditEvent `json:"audit_events" yaml:"audit_events"`

	// authorization details
	AuthorizationDetails []*AuthorizationDetail `json:"authorization_details" yaml:"authorization_details"`

	// brute force limits
	BruteForceLimits []*BruteForceLimit `json:"brute_force_limits" yaml:"brute_force_limits"`

	// cdr arrangements
	CdrArrangements []*CDRArrangement `json:"cdr_arrangements" yaml:"cdr_arrangements"`

	// ciba authentication services
	CibaAuthenticationServices []*CIBAAuthenticationService `json:"ciba_authentication_services" yaml:"ciba_authentication_services"`

	// claim grants
	ClaimGrants []*ClaimGrant `json:"claim_grants" yaml:"claim_grants"`

	// claims
	Claims []*Claim `json:"claims" yaml:"claims"`

	// clients
	Clients []*Client `json:"clients" yaml:"clients"`

	// consent actions
	ConsentActions []*ConsentActionWithConsents `json:"consent_actions" yaml:"consent_actions"`

	// consent grants
	ConsentGrants []*ConsentGrant `json:"consent_grants" yaml:"consent_grants"`

	// consents
	Consents []*Consent `json:"consents" yaml:"consents"`

	// cross tenant api policy bindings
	CrossTenantAPIPolicyBindings []*CrossTenantAPIPolicyBinding `json:"cross_tenant_api_policy_bindings" yaml:"cross_tenant_api_policy_bindings"`

	// custom apps
	CustomApps []*CustomApp `json:"custom_apps" yaml:"custom_apps"`

	// feature flags
	FeatureFlags []*Feature `json:"feature_flags" yaml:"feature_flags"`

	// gateway api groups
	GatewayAPIGroups []*GatewayAPIGroup `json:"gateway_api_groups" yaml:"gateway_api_groups"`

	// gateways
	Gateways []*Gateway `json:"gateways" yaml:"gateways"`

	// idps
	Idps IDPs `json:"idps,omitempty" yaml:"idps,omitempty"`

	// mfa methods
	MfaMethods []*MFAMethod `json:"mfa_methods" yaml:"mfa_methods"`

	// openbanking br consents
	OpenbankingBrConsents []*OBConsent `json:"openbanking_br_consents" yaml:"openbanking_br_consents"`

	// openbanking fdx consents
	OpenbankingFdxConsents []*FDXConsent `json:"openbanking_fdx_consents" yaml:"openbanking_fdx_consents"`

	// openbanking file payment consent file resources
	OpenbankingFilePaymentConsentFileResources []*FilePaymentConsentFileResource `json:"openbanking_file_payment_consent_file_resources" yaml:"openbanking_file_payment_consent_file_resources"`

	// openbanking ksa consents
	OpenbankingKsaConsents []*KSAConsent `json:"openbanking_ksa_consents" yaml:"openbanking_ksa_consents"`

	// openbanking uk consents
	OpenbankingUkConsents []*OBConsent `json:"openbanking_uk_consents" yaml:"openbanking_uk_consents"`

	// policies
	Policies []*Policy `json:"policies" yaml:"policies"`

	// policy execution points
	PolicyExecutionPoints []*PolicyExecutionPoint `json:"policy_execution_points" yaml:"policy_execution_points"`

	// privacy ledger events
	PrivacyLedgerEvents []*PrivacyLedgerEvent `json:"privacy_ledger_events" yaml:"privacy_ledger_events"`

	// rate limits
	RateLimits []*CustomRateLimit `json:"rate_limits" yaml:"rate_limits"`

	// recurring jobs
	RecurringJobs []*RecurringJob `json:"recurring_jobs" yaml:"recurring_jobs"`

	// roles
	Roles []*Role `json:"roles" yaml:"roles"`

	// scope grants
	ScopeGrants []*ScopeGrant `json:"scope_grants" yaml:"scope_grants"`

	// scopes without service
	ScopesWithoutService []*Scope `json:"scopes_without_service" yaml:"scopes_without_service"`

	// script execution points
	ScriptExecutionPoints []*ScriptExecutionPoint `json:"script_execution_points" yaml:"script_execution_points"`

	// scripts
	Scripts []*Script `json:"scripts" yaml:"scripts"`

	// secrets
	Secrets []*Secret `json:"secrets" yaml:"secrets"`

	// server consents
	ServerConsents []*ServerConsent `json:"server_consents" yaml:"server_consents"`

	// servers
	Servers []*ServerDump `json:"servers" yaml:"servers"`

	// servers bindings
	ServersBindings []*ServerToServer `json:"servers_bindings" yaml:"servers_bindings"`

	// services
	Services []*ServiceWithScopesAndAPIsAndAuthorizationDetails `json:"services" yaml:"services"`

	// templates
	Templates []*Template `json:"templates" yaml:"templates"`

	// tenants
	Tenants []*Tenant `json:"tenants" yaml:"tenants"`

	// theme bindings
	ThemeBindings []*ServerToTheme `json:"theme_bindings" yaml:"theme_bindings"`

	// themes
	Themes []*Theme `json:"themes" yaml:"themes"`

	// vanity domains
	VanityDomains []*VanityDomain `json:"vanity_domains" yaml:"vanity_domains"`

	// webhooks
	Webhooks []*Webhook `json:"webhooks" yaml:"webhooks"`
}

Dump dump

swagger:model Dump

func (*Dump) ContextValidate ¶

func (m *Dump) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dump based on the context it is used

func (*Dump) MarshalBinary ¶

func (m *Dump) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dump) UnmarshalBinary ¶

func (m *Dump) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dump) Validate ¶

func (m *Dump) Validate(formats strfmt.Registry) error

Validate validates this dump

type Duration ¶

type Duration int64

Duration A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.

swagger:model Duration

func (Duration) ContextValidate ¶

func (m Duration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this duration based on context it is used

func (Duration) Validate ¶

func (m Duration) Validate(formats strfmt.Registry) error

Validate validates this duration

type DurationType ¶

type DurationType string

DurationType duration type

swagger:model DurationType

func (DurationType) ContextValidate ¶

func (m DurationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this duration type based on context it is used

func (DurationType) Validate ¶

func (m DurationType) Validate(formats strfmt.Registry) error

Validate validates this duration type

type DynamicClientRegistrationSettings ¶

type DynamicClientRegistrationSettings struct {

	// Binds registration token to the certificate used to register client
	CertBoundRegistrationToken bool `json:"cert_bound_registration_token,omitempty" yaml:"cert_bound_registration_token,omitempty"`

	// An optional list of scopes to be granted to a client when no scopes are provided in the DCR registration request
	//
	// If not provided, the following default scopes are granted for the client application: openid, address, email, phone, profile.
	DefaultScopes []string `json:"default_scopes" yaml:"default_scopes"`

	// Disable registration access token expiry
	//
	// If is flag is on, the registration access token will never expire.
	DisableRegistrationAccessTokenExpiry bool `json:"disable_registration_access_token_expiry,omitempty" yaml:"disable_registration_access_token_expiry,omitempty"`

	// Disables client management using registration token
	//
	// If disabled, client can manage itself using access token issued by client credentials flow.
	DisableRegistrationTokenManagement bool `json:"disable_registration_token_management,omitempty" yaml:"disable_registration_token_management,omitempty"`

	// Disables registration token rotation
	DisableRegistrationTokenRotation bool `json:"disable_registration_token_rotation,omitempty" yaml:"disable_registration_token_rotation,omitempty"`

	// Enables dynamic client registration
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`

	// initial access token
	InitialAccessToken *InitialAccessTokenSettings `json:"initial_access_token,omitempty" yaml:"initial_access_token,omitempty"`

	// payload
	Payload *PayloadSettings `json:"payload,omitempty" yaml:"payload,omitempty"`

	// Registration access token TTL
	//
	// Time to live of the registration access token (default 30 days).
	// The minimum value is 24 hours.
	// Example: 720h0m0s
	// Format: duration
	RegistrationAccessTokenTTL strfmt.Duration `json:"registration_access_token_ttl,omitempty" yaml:"registration_access_token_ttl,omitempty"`
}

DynamicClientRegistrationSettings dynamic client registration settings

swagger:model DynamicClientRegistrationSettings

func (*DynamicClientRegistrationSettings) ContextValidate ¶

func (m *DynamicClientRegistrationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dynamic client registration settings based on the context it is used

func (*DynamicClientRegistrationSettings) MarshalBinary ¶

func (m *DynamicClientRegistrationSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DynamicClientRegistrationSettings) UnmarshalBinary ¶

func (m *DynamicClientRegistrationSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DynamicClientRegistrationSettings) Validate ¶

Validate validates this dynamic client registration settings

type Element ¶

type Element struct {

	// attr
	Attr []*Attr `json:"Attr" yaml:"Attr"`

	// child
	Child []*Token `json:"Child" yaml:"Child"`

	// space
	Space string `json:"Space,omitempty" yaml:"Space,omitempty"`
}

Element An Element represents an XML element, its attributes, and its child tokens.

swagger:model Element

func (*Element) ContextValidate ¶

func (m *Element) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this element based on the context it is used

func (*Element) MarshalBinary ¶

func (m *Element) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Element) UnmarshalBinary ¶

func (m *Element) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Element) Validate ¶

func (m *Element) Validate(formats strfmt.Registry) error

Validate validates this element

type EmailAuth ¶

type EmailAuth struct {

	// SMTP auth mechanism: crammd5 or plain
	// Example: plain
	// Required: true
	Auth string `json:"auth" yaml:"auth"`

	// The host of the SMTP server.
	// Required: true
	Host string `json:"host" yaml:"host"`

	// Password which is used to authenticate to the SMTP server.
	// Required: true
	Password string `json:"password" yaml:"password"`

	// The port of the SMTP server.
	// Example: 25
	// Required: true
	Port int64 `json:"port" yaml:"port"`

	// Username which is used to authenticate to the SMTP server.
	// Required: true
	Username string `json:"username" yaml:"username"`
}

EmailAuth email auth

swagger:model EmailAuth

func (*EmailAuth) ContextValidate ¶

func (m *EmailAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this email auth based on context it is used

func (*EmailAuth) MarshalBinary ¶

func (m *EmailAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuth) UnmarshalBinary ¶

func (m *EmailAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuth) Validate ¶

func (m *EmailAuth) Validate(formats strfmt.Registry) error

Validate validates this email auth

type EmailSettings ¶

type EmailSettings struct {

	// Custom email From address.
	//
	// If not set, the default is used.
	// Example: noreply@cloudentity.com
	CustomFrom string `json:"custom_from,omitempty" yaml:"custom_from,omitempty"`

	// Custom email subject.
	//
	// If not set, the default is used.
	CustomMessageSubject string `json:"custom_message_subject,omitempty" yaml:"custom_message_subject,omitempty"`

	// Custom email template.
	//
	// If not set, the default is used.
	CustomMessageTemplate string `json:"custom_message_template,omitempty" yaml:"custom_message_template,omitempty"`

	// otp
	Otp *OTPConfiguration `json:"otp,omitempty" yaml:"otp,omitempty"`

	// Email provider.
	// Example: embedded
	// Enum: [smtp embedded]
	Provider string `json:"provider,omitempty" yaml:"provider,omitempty"`
}

EmailSettings email settings

swagger:model EmailSettings

func (*EmailSettings) ContextValidate ¶

func (m *EmailSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this email settings based on the context it is used

func (*EmailSettings) MarshalBinary ¶

func (m *EmailSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailSettings) UnmarshalBinary ¶

func (m *EmailSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailSettings) Validate ¶

func (m *EmailSettings) Validate(formats strfmt.Registry) error

Validate validates this email settings

type EncryptionMethod ¶

type EncryptionMethod struct {

	// algorithm
	Algorithm string `json:"Algorithm,omitempty" yaml:"Algorithm,omitempty"`
}

EncryptionMethod EncryptionMethod represents the XMLSEC object of the same name

swagger:model EncryptionMethod

func (*EncryptionMethod) ContextValidate ¶

func (m *EncryptionMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this encryption method based on context it is used

func (*EncryptionMethod) MarshalBinary ¶

func (m *EncryptionMethod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EncryptionMethod) UnmarshalBinary ¶

func (m *EncryptionMethod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EncryptionMethod) Validate ¶

func (m *EncryptionMethod) Validate(formats strfmt.Registry) error

Validate validates this encryption method

type Endpoint ¶

type Endpoint struct {

	// binding
	Binding string `json:"Binding,omitempty" yaml:"Binding,omitempty"`

	// location
	Location string `json:"Location,omitempty" yaml:"Location,omitempty"`

	// response location
	ResponseLocation string `json:"ResponseLocation,omitempty" yaml:"ResponseLocation,omitempty"`
}

Endpoint Endpoint represents the SAML EndpointType object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.2

swagger:model Endpoint

func (*Endpoint) ContextValidate ¶

func (m *Endpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoint based on context it is used

func (*Endpoint) MarshalBinary ¶

func (m *Endpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Endpoint) UnmarshalBinary ¶

func (m *Endpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Endpoint) Validate ¶

func (m *Endpoint) Validate(formats strfmt.Registry) error

Validate validates this endpoint

type EntityDescriptor ¶

type EntityDescriptor struct {

	// additional metadata locations
	AdditionalMetadataLocations []string `json:"AdditionalMetadataLocations" yaml:"AdditionalMetadataLocations"`

	// affiliation descriptor
	AffiliationDescriptor *AffiliationDescriptor `json:"AffiliationDescriptor,omitempty" yaml:"AffiliationDescriptor,omitempty"`

	// attribute authority descriptors
	AttributeAuthorityDescriptors []*AttributeAuthorityDescriptor `json:"AttributeAuthorityDescriptors" yaml:"AttributeAuthorityDescriptors"`

	// authn authority descriptors
	AuthnAuthorityDescriptors []*AuthnAuthorityDescriptor `json:"AuthnAuthorityDescriptors" yaml:"AuthnAuthorityDescriptors"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact person
	ContactPerson *ContactPerson `json:"ContactPerson,omitempty" yaml:"ContactPerson,omitempty"`

	// entity ID
	EntityID string `json:"EntityID,omitempty" yaml:"EntityID,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// ID p s s o descriptors
	IDPSSODescriptors []*IDPSSODescriptor `json:"IDPSSODescriptors" yaml:"IDPSSODescriptors"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// p d p descriptors
	PDPDescriptors []*PDPDescriptor `json:"PDPDescriptors" yaml:"PDPDescriptors"`

	// role descriptors
	RoleDescriptors []*RoleDescriptor `json:"RoleDescriptors" yaml:"RoleDescriptors"`

	// s p s s o descriptors
	SPSSODescriptors []*SPSSODescriptor `json:"SPSSODescriptors" yaml:"SPSSODescriptors"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`

	// XML name
	XMLName *Name `json:"XMLName,omitempty" yaml:"XMLName,omitempty"`
}

EntityDescriptor EntityDescriptor represents the SAML EntityDescriptor object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.2

swagger:model EntityDescriptor

func (*EntityDescriptor) ContextValidate ¶

func (m *EntityDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this entity descriptor based on the context it is used

func (*EntityDescriptor) MarshalBinary ¶

func (m *EntityDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntityDescriptor) UnmarshalBinary ¶

func (m *EntityDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntityDescriptor) Validate ¶

func (m *EntityDescriptor) Validate(formats strfmt.Registry) error

Validate validates this entity descriptor

type Error ¶

type Error struct {

	// details
	Details interface{} `json:"details,omitempty" yaml:"details,omitempty"`

	// error
	Error string `json:"error,omitempty" yaml:"error,omitempty"`

	// status code
	StatusCode int64 `json:"status_code,omitempty" yaml:"status_code,omitempty"`
}

Error HTTP error response

swagger:model Error

func (*Error) ContextValidate ¶

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary ¶

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary ¶

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate ¶

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ExternalCIBAAuthenticationService ¶

type ExternalCIBAAuthenticationService struct {

	// credentials
	Credentials *ExternalServiceCredentials `json:"credentials,omitempty" yaml:"credentials,omitempty"`

	// url to the ciba authenticator service
	URL string `json:"url,omitempty" yaml:"url,omitempty"`
}

ExternalCIBAAuthenticationService external c i b a authentication service

swagger:model ExternalCIBAAuthenticationService

func (*ExternalCIBAAuthenticationService) ContextValidate ¶

func (m *ExternalCIBAAuthenticationService) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external c i b a authentication service based on the context it is used

func (*ExternalCIBAAuthenticationService) MarshalBinary ¶

func (m *ExternalCIBAAuthenticationService) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalCIBAAuthenticationService) UnmarshalBinary ¶

func (m *ExternalCIBAAuthenticationService) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalCIBAAuthenticationService) Validate ¶

Validate validates this external c i b a authentication service

type ExternalCredentials ¶

type ExternalCredentials struct {

	// query or header
	APIKeyIn string `json:"api_key_in,omitempty" yaml:"api_key_in,omitempty"`

	// api key name
	APIKeyName string `json:"api_key_name,omitempty" yaml:"api_key_name,omitempty"`

	// api key value
	APIKeyValue string `json:"api_key_value,omitempty" yaml:"api_key_value,omitempty"`

	// http basic auth password
	Password string `json:"password,omitempty" yaml:"password,omitempty"`

	// http basic auth username
	Username string `json:"username,omitempty" yaml:"username,omitempty"`
}

ExternalCredentials External IDP specific credentials

swagger:model ExternalCredentials

func (*ExternalCredentials) ContextValidate ¶

func (m *ExternalCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external credentials based on context it is used

func (*ExternalCredentials) MarshalBinary ¶

func (m *ExternalCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalCredentials) UnmarshalBinary ¶

func (m *ExternalCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalCredentials) Validate ¶

func (m *ExternalCredentials) Validate(formats strfmt.Registry) error

Validate validates this external credentials

type ExternalServiceCredentials ¶

type ExternalServiceCredentials struct {

	// query or header
	APIKeyIn string `json:"api_key_in,omitempty" yaml:"api_key_in,omitempty"`

	// api key name
	APIKeyName string `json:"api_key_name,omitempty" yaml:"api_key_name,omitempty"`

	// api key value
	APIKeyValue string `json:"api_key_value,omitempty" yaml:"api_key_value,omitempty"`

	// http basic auth password
	Password string `json:"password,omitempty" yaml:"password,omitempty"`

	// http basic auth username
	Username string `json:"username,omitempty" yaml:"username,omitempty"`
}

ExternalServiceCredentials external service credentials

swagger:model ExternalServiceCredentials

func (*ExternalServiceCredentials) ContextValidate ¶

func (m *ExternalServiceCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external service credentials based on context it is used

func (*ExternalServiceCredentials) MarshalBinary ¶

func (m *ExternalServiceCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalServiceCredentials) UnmarshalBinary ¶

func (m *ExternalServiceCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalServiceCredentials) Validate ¶

func (m *ExternalServiceCredentials) Validate(formats strfmt.Registry) error

Validate validates this external service credentials

type ExternalSettings ¶

type ExternalSettings struct {

	// URL to your external datastore service
	// Example: https://example.com/
	URL string `json:"url,omitempty" yaml:"url,omitempty"`
}

ExternalSettings External IDP specific settings

swagger:model ExternalSettings

func (*ExternalSettings) ContextValidate ¶

func (m *ExternalSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external settings based on context it is used

func (*ExternalSettings) MarshalBinary ¶

func (m *ExternalSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalSettings) UnmarshalBinary ¶

func (m *ExternalSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalSettings) Validate ¶

func (m *ExternalSettings) Validate(formats strfmt.Registry) error

Validate validates this external settings

type FDXClientStatus ¶

type FDXClientStatus string

FDXClientStatus f d x client status

swagger:model FDXClientStatus

func (FDXClientStatus) ContextValidate ¶

func (m FDXClientStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x client status based on context it is used

func (FDXClientStatus) Validate ¶

func (m FDXClientStatus) Validate(formats strfmt.Registry) error

Validate validates this f d x client status

type FDXConfiguration ¶

type FDXConfiguration struct {

	// initial client status
	InitialClientStatus FDXClientStatus `json:"initial_client_status,omitempty" yaml:"initial_client_status,omitempty"`

	// legal entity
	LegalEntity *LegalEntity `json:"legal_entity,omitempty" yaml:"legal_entity,omitempty"`
}

FDXConfiguration f d x configuration

swagger:model FDXConfiguration

func (*FDXConfiguration) ContextValidate ¶

func (m *FDXConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this f d x configuration based on the context it is used

func (*FDXConfiguration) MarshalBinary ¶

func (m *FDXConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXConfiguration) UnmarshalBinary ¶

func (m *FDXConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXConfiguration) Validate ¶

func (m *FDXConfiguration) Validate(formats strfmt.Registry) error

Validate validates this f d x configuration

type FDXConsent ¶

type FDXConsent struct {

	// authorization server id
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// client id
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// Time of consent creation
	// Format: date-time
	CreatedTime strfmt.DateTime `json:"createdTime,omitempty" yaml:"createdTime,omitempty"`

	// Consent duration, in days, from day of original grant.
	DurationPeriod int64 `json:"durationPeriod,omitempty" yaml:"durationPeriod,omitempty"`

	// duration type
	DurationType DurationType `json:"durationType,omitempty" yaml:"durationType,omitempty"`

	// Time of consent expiration
	// Format: date-time
	ExpirationTime strfmt.DateTime `json:"expirationTime,omitempty" yaml:"expirationTime,omitempty"`

	// Enumeration of the Clusters of granted data elements permissioned by this Consent Grant.
	// Data Clusters are described in FDX RFC 0167.
	GrantedResources []*FDXGrantedResource `json:"granted_resources" yaml:"granted_resources"`

	// id
	ID FDXConsentID `json:"id,omitempty" yaml:"id,omitempty"`

	// Period, in days, for which historical data may be requested; period is measured from request time, not grant time
	LookbackPeriod int64 `json:"lookbackPeriod,omitempty" yaml:"lookbackPeriod,omitempty"`

	// A collection of parameters identifying the Parties (including the legal entity operating branded products or services)
	// in the data sharing chain. Descriptive information is collected during Data Recipient registration at Data Provider,
	// and populated during issuance by DataProvider from its registry;
	Parties []*FDXConsentGrantParty `json:"parties" yaml:"parties"`

	// Enumeration of the Clusters of requested data elements permissioned by this Consent Grant.
	// Data Clusters are described in FDX RFC 0167.
	Resources []*FDXRequestedResource `json:"resources" yaml:"resources"`

	// revocation reason
	RevocationReason *FDXConsentRevocation `json:"revocationReason,omitempty" yaml:"revocationReason,omitempty"`

	// status
	Status ConsentStatus `json:"status,omitempty" yaml:"status,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// Time of last consent's status change
	// Format: date-time
	UpdatedTime strfmt.DateTime `json:"updatedTime,omitempty" yaml:"updatedTime,omitempty"`
}

FDXConsent f d x consent

swagger:model FDXConsent

func (*FDXConsent) ContextValidate ¶

func (m *FDXConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this f d x consent based on the context it is used

func (*FDXConsent) MarshalBinary ¶

func (m *FDXConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXConsent) UnmarshalBinary ¶

func (m *FDXConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXConsent) Validate ¶

func (m *FDXConsent) Validate(formats strfmt.Registry) error

Validate validates this f d x consent

type FDXConsentGrantParty ¶

type FDXConsentGrantParty struct {

	// URL for party, where an end user could learn more about the company or application involved in the data sharing chain
	HomeURI string `json:"homeUri,omitempty" yaml:"homeUri,omitempty"`

	// URL for a logo asset to be displayed to the end user
	LogoURI string `json:"logoUri,omitempty" yaml:"logoUri,omitempty"`

	// Common name for party, as it should be displayed to the end user
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// Registered id of party
	RegisteredEntityIdentifier string `json:"registeredEntityIdentifier,omitempty" yaml:"registeredEntityIdentifier,omitempty"`

	// Registered name of party
	RegisteredEntityName string `json:"registeredEntityName,omitempty" yaml:"registeredEntityName,omitempty"`

	// The registry with the party's registered name and id
	RegistryName string `json:"registryName,omitempty" yaml:"registryName,omitempty"`
}

FDXConsentGrantParty Consent Party entity Details on the non-end user parties in the Consent Grant. Includes the legal entity operating branded products or services in the data sharing chain. Descriptive information is collected during Data Recipient registration at Data Provider, and populated during issuance by Data Provider from its registry

swagger:model FDXConsentGrantParty

func (*FDXConsentGrantParty) ContextValidate ¶

func (m *FDXConsentGrantParty) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x consent grant party based on context it is used

func (*FDXConsentGrantParty) MarshalBinary ¶

func (m *FDXConsentGrantParty) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXConsentGrantParty) UnmarshalBinary ¶

func (m *FDXConsentGrantParty) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXConsentGrantParty) Validate ¶

func (m *FDXConsentGrantParty) Validate(formats strfmt.Registry) error

Validate validates this f d x consent grant party

type FDXConsentID ¶

type FDXConsentID string

FDXConsentID f d x consent ID

swagger:model FDXConsentID

func (FDXConsentID) ContextValidate ¶

func (m FDXConsentID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x consent ID based on context it is used

func (FDXConsentID) Validate ¶

func (m FDXConsentID) Validate(formats strfmt.Registry) error

Validate validates this f d x consent ID

type FDXConsentRevocation ¶

type FDXConsentRevocation struct {

	// Revocation initiator
	// Example: \"INDIVIDUAL\
	// Enum: [DATA_ACCESS_PLATFORM DATA_PROVIDER DATA_RECIPIENT INDIVIDUAL MERCHANT VENDOR]
	Initiator string `json:"initiator,omitempty" yaml:"initiator,omitempty"`

	// Revocation reason
	// Example: \"USER_ACTION\
	// Enum: [BUSINESS_RULE USER_ACTION]
	Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
}

FDXConsentRevocation Revocation data

swagger:model FDXConsentRevocation

func (*FDXConsentRevocation) ContextValidate ¶

func (m *FDXConsentRevocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x consent revocation based on context it is used

func (*FDXConsentRevocation) MarshalBinary ¶

func (m *FDXConsentRevocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXConsentRevocation) UnmarshalBinary ¶

func (m *FDXConsentRevocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXConsentRevocation) Validate ¶

func (m *FDXConsentRevocation) Validate(formats strfmt.Registry) error

Validate validates this f d x consent revocation

type FDXGrantedResource ¶

type FDXGrantedResource struct {

	// The names of clusters with data elements permitted.
	// Example: ["ACCOUNT_DETAILED","TRANSACTIONS","STATEMENTS"]
	DataClusters []string `json:"dataClusters" yaml:"dataClusters"`

	// resource ID
	// Example: b14e1e714693bc00
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// A type of resource that holds the permitted data elements. This parameter can be extended to support additional resource types.
	// Example: ACCOUNT
	ResourceType string `json:"resourceType,omitempty" yaml:"resourceType,omitempty"`
}

FDXGrantedResource f d x granted resource

swagger:model FDXGrantedResource

func (*FDXGrantedResource) ContextValidate ¶

func (m *FDXGrantedResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x granted resource based on context it is used

func (*FDXGrantedResource) MarshalBinary ¶

func (m *FDXGrantedResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXGrantedResource) UnmarshalBinary ¶

func (m *FDXGrantedResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXGrantedResource) Validate ¶

func (m *FDXGrantedResource) Validate(formats strfmt.Registry) error

Validate validates this f d x granted resource

type FDXMetadata ¶

type FDXMetadata struct {

	// Contact information of individuals responsible for the Data Recipient application.
	Contacts []string `json:"contacts" yaml:"contacts"`

	// The time window the end-user grants the consent for. Used when `duration_type`=`TIME_BOUND`.
	DurationPeriod int64 `json:"duration_period,omitempty" yaml:"duration_period,omitempty"`

	// The rule of consent granting by the end-user to indicate whether they must take action
	// to revoke access or the consent will be revoked automatically.
	//
	// One of: `ONE_TIME`, `PERSISTENT`, `TIME_BOUND`
	// Example: ONE_TIME
	DurationType []DurationType `json:"duration_type" yaml:"duration_type"`

	// An array of the intermediaries for this Data Recipient.
	Intermediaries []*Intermediary `json:"intermediaries" yaml:"intermediaries"`

	// The maximum number of days allowed for Data Recipient consumers to obtain in transaction history, effective from
	// the current date
	LookbackPeriod int64 `json:"lookback_period,omitempty" yaml:"lookback_period,omitempty"`

	// The list of external registries where the Data Recipient is registered. It comprises the following details:
	// name, identifier, and the `registry` string with any additional info.
	RegistryReferences []*RegistryReference `json:"registry_references" yaml:"registry_references"`

	// status
	Status FDXClientStatus `json:"status,omitempty" yaml:"status,omitempty"`
}

FDXMetadata f d x metadata

swagger:model FDXMetadata

func (*FDXMetadata) ContextValidate ¶

func (m *FDXMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this f d x metadata based on the context it is used

func (*FDXMetadata) MarshalBinary ¶

func (m *FDXMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXMetadata) UnmarshalBinary ¶

func (m *FDXMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXMetadata) Validate ¶

func (m *FDXMetadata) Validate(formats strfmt.Registry) error

Validate validates this f d x metadata

type FDXParty ¶

type FDXParty struct {

	// home uri
	HomeURI string `json:"home_uri,omitempty" yaml:"home_uri,omitempty"`

	// logo uri
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// name
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// registered entity identifier
	RegisteredEntityIdentifier string `json:"registered_entity_identifier,omitempty" yaml:"registered_entity_identifier,omitempty"`

	// registered entity name
	RegisteredEntityName string `json:"registered_entity_name,omitempty" yaml:"registered_entity_name,omitempty"`

	// registry name
	RegistryName string `json:"registry_name,omitempty" yaml:"registry_name,omitempty"`
}

FDXParty f d x party

swagger:model FDXParty

func (*FDXParty) ContextValidate ¶

func (m *FDXParty) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x party based on context it is used

func (*FDXParty) MarshalBinary ¶

func (m *FDXParty) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXParty) UnmarshalBinary ¶

func (m *FDXParty) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXParty) Validate ¶

func (m *FDXParty) Validate(formats strfmt.Registry) error

Validate validates this f d x party

type FDXRequestedResource ¶

type FDXRequestedResource struct {

	// The names of clusters with data elements permitted.
	// Example: ["ACCOUNT_DETAILED","TRANSACTIONS","STATEMENTS"]
	DataClusters []string `json:"dataClusters" yaml:"dataClusters"`

	// A type of resource that holds the permitted data elements. This parameter can be extended to support additional resource types.
	// Example: ACCOUNT
	ResourceType string `json:"resourceType,omitempty" yaml:"resourceType,omitempty"`
}

FDXRequestedResource f d x requested resource

swagger:model FDXRequestedResource

func (*FDXRequestedResource) ContextValidate ¶

func (m *FDXRequestedResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this f d x requested resource based on context it is used

func (*FDXRequestedResource) MarshalBinary ¶

func (m *FDXRequestedResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FDXRequestedResource) UnmarshalBinary ¶

func (m *FDXRequestedResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FDXRequestedResource) Validate ¶

func (m *FDXRequestedResource) Validate(formats strfmt.Registry) error

Validate validates this f d x requested resource

type Feature ¶

type Feature struct {

	// Feature flag state that overrides global features configuration
	// Example: true
	// Required: true
	Enabled bool `json:"enabled" yaml:"enabled"`

	// Name of the feature flag
	// Example: visualizer
	// Required: true
	Flag string `json:"flag" yaml:"flag"`

	// ID of your tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`
}

Feature feature

swagger:model Feature

func (*Feature) ContextValidate ¶

func (m *Feature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this feature based on context it is used

func (*Feature) MarshalBinary ¶

func (m *Feature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Feature) UnmarshalBinary ¶

func (m *Feature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Feature) Validate ¶

func (m *Feature) Validate(formats strfmt.Registry) error

Validate validates this feature

type FeatureResponse ¶

type FeatureResponse struct {

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`

	// name
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// type
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

FeatureResponse feature response

swagger:model FeatureResponse

func (*FeatureResponse) ContextValidate ¶

func (m *FeatureResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this feature response based on context it is used

func (*FeatureResponse) MarshalBinary ¶

func (m *FeatureResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FeatureResponse) UnmarshalBinary ¶

func (m *FeatureResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FeatureResponse) Validate ¶

func (m *FeatureResponse) Validate(formats strfmt.Registry) error

Validate validates this feature response

type FeaturesResponse ¶

type FeaturesResponse struct {

	// features
	Features []*FeatureResponse `json:"features" yaml:"features"`
}

FeaturesResponse features response

swagger:model FeaturesResponse

func (*FeaturesResponse) ContextValidate ¶

func (m *FeaturesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this features response based on the context it is used

func (*FeaturesResponse) MarshalBinary ¶

func (m *FeaturesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FeaturesResponse) UnmarshalBinary ¶

func (m *FeaturesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FeaturesResponse) Validate ¶

func (m *FeaturesResponse) Validate(formats strfmt.Registry) error

Validate validates this features response

type FilePaymentConsentFileResource ¶

type FilePaymentConsentFileResource struct {

	// Client application identifier.
	// Example: \"cauqo9c9vpbs0aj2b2v0\
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// consent id
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// file
	File []uint8 `json:"file" yaml:"file"`

	// Server / Workspace identifier.
	// Example: \"server\
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// Tenant identifier.
	// Example: \"tenant\
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

FilePaymentConsentFileResource file payment consent file resource

swagger:model FilePaymentConsentFileResource

func (*FilePaymentConsentFileResource) ContextValidate ¶

func (m *FilePaymentConsentFileResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this file payment consent file resource based on context it is used

func (*FilePaymentConsentFileResource) MarshalBinary ¶

func (m *FilePaymentConsentFileResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FilePaymentConsentFileResource) UnmarshalBinary ¶

func (m *FilePaymentConsentFileResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FilePaymentConsentFileResource) Validate ¶

func (m *FilePaymentConsentFileResource) Validate(formats strfmt.Registry) error

Validate validates this file payment consent file resource

type Gateway ¶

type Gateway struct {

	// authorization server id
	// Example: default
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// id of a client created for this gateway for authentication
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// if true services are created automatically for each new discovered api group
	CreateAndBindServicesAutomatically bool `json:"create_and_bind_services_automatically,omitempty" yaml:"create_and_bind_services_automatically,omitempty"`

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// unique gateway id
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// last time a client fetched configuration
	// Format: date-time
	LastActive strfmt.DateTime `json:"last_active,omitempty" yaml:"last_active,omitempty"`

	// gateway name
	// Example: Cloudentity Pyron
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// token exchange
	TokenExchange *GatewayTokenExchangeSettings `json:"token_exchange,omitempty" yaml:"token_exchange,omitempty"`

	// Token exchange client id
	TokenExchangeClientID string `json:"token_exchange_client_id,omitempty" yaml:"token_exchange_client_id,omitempty"`

	// gateway type, one of: pyron, aws
	// Example: pyron
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

Gateway gateway

swagger:model Gateway

func (*Gateway) ContextValidate ¶

func (m *Gateway) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gateway based on the context it is used

func (*Gateway) MarshalBinary ¶

func (m *Gateway) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Gateway) UnmarshalBinary ¶

func (m *Gateway) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Gateway) Validate ¶

func (m *Gateway) Validate(formats strfmt.Registry) error

Validate validates this gateway

type GatewayAPI ¶

type GatewayAPI struct {

	// api type
	// Enum: [rest graphql]
	APIType string `json:"api_type,omitempty" yaml:"api_type,omitempty"`

	// graphql schema
	GraphqlSchema string `json:"graphql_schema,omitempty" yaml:"graphql_schema,omitempty"`

	// method
	Method string `json:"method,omitempty" yaml:"method,omitempty"`

	// path
	Path string `json:"path,omitempty" yaml:"path,omitempty"`
}

GatewayAPI gateway API

swagger:model GatewayAPI

func (*GatewayAPI) ContextValidate ¶

func (m *GatewayAPI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gateway API based on context it is used

func (*GatewayAPI) MarshalBinary ¶

func (m *GatewayAPI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GatewayAPI) UnmarshalBinary ¶

func (m *GatewayAPI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GatewayAPI) Validate ¶

func (m *GatewayAPI) Validate(formats strfmt.Registry) error

Validate validates this gateway API

type GatewayAPIGroup ¶

type GatewayAPIGroup struct {

	// List of APIs
	Apis []*GatewayAPI `json:"apis" yaml:"apis"`

	// gateway id
	GatewayID string `json:"gateway_id,omitempty" yaml:"gateway_id,omitempty"`

	// API group ID
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// metadata
	Metadata *APIGroupMetadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// API group name
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// server id
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty" yaml:"service_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

GatewayAPIGroup gateway API group

swagger:model GatewayAPIGroup

func (*GatewayAPIGroup) ContextValidate ¶

func (m *GatewayAPIGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gateway API group based on the context it is used

func (*GatewayAPIGroup) MarshalBinary ¶

func (m *GatewayAPIGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GatewayAPIGroup) UnmarshalBinary ¶

func (m *GatewayAPIGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GatewayAPIGroup) Validate ¶

func (m *GatewayAPIGroup) Validate(formats strfmt.Registry) error

Validate validates this gateway API group

type GatewayTokenExchangeSettings ¶

type GatewayTokenExchangeSettings struct {

	// enabled
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`

	// trusted idp ids
	TrustedIdpIds []string `json:"trusted_idp_ids" yaml:"trusted_idp_ids"`
}

GatewayTokenExchangeSettings gateway token exchange settings

swagger:model GatewayTokenExchangeSettings

func (*GatewayTokenExchangeSettings) ContextValidate ¶

func (m *GatewayTokenExchangeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gateway token exchange settings based on context it is used

func (*GatewayTokenExchangeSettings) MarshalBinary ¶

func (m *GatewayTokenExchangeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GatewayTokenExchangeSettings) UnmarshalBinary ¶

func (m *GatewayTokenExchangeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GatewayTokenExchangeSettings) Validate ¶

func (m *GatewayTokenExchangeSettings) Validate(formats strfmt.Registry) error

Validate validates this gateway token exchange settings

type GithubCredentials ¶

type GithubCredentials struct {

	// OAuth client application secret from your GitHub Oauth application settings
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

GithubCredentials GitHub IDP specific credentials

swagger:model GithubCredentials

func (*GithubCredentials) ContextValidate ¶

func (m *GithubCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this github credentials based on context it is used

func (*GithubCredentials) MarshalBinary ¶

func (m *GithubCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GithubCredentials) UnmarshalBinary ¶

func (m *GithubCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GithubCredentials) Validate ¶

func (m *GithubCredentials) Validate(formats strfmt.Registry) error

Validate validates this github credentials

type GithubSettings ¶

type GithubSettings struct {

	// Client ID of your OAuth application registered in GitHub
	//
	// You can find your client ID in GitHub > Settings > Developer Settings > OAuth Apps > Your Application
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// If enabled, the groups a user belongs to are collected
	//
	// If enabled, the `groups` attribute from the authentication context gets populated with the
	// user's groups and takes from of `organization_id.group name`
	FetchGroups bool `json:"fetch_groups,omitempty" yaml:"fetch_groups,omitempty"`

	// An array of allowed OAuth scopes which the client requests
	//
	// The following scopes can be configured for GitHub application:
	// `phone`, `email`, `openid`, `profile`.
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`
}

GithubSettings GitHub IDP specific settings

swagger:model GithubSettings

func (*GithubSettings) ContextValidate ¶

func (m *GithubSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this github settings based on context it is used

func (*GithubSettings) MarshalBinary ¶

func (m *GithubSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GithubSettings) UnmarshalBinary ¶

func (m *GithubSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GithubSettings) Validate ¶

func (m *GithubSettings) Validate(formats strfmt.Registry) error

Validate validates this github settings

type GoogleCredentials ¶

type GoogleCredentials struct {

	// OAuth client application secret
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

GoogleCredentials Google IDP specific credentials

swagger:model GoogleCredentials

func (*GoogleCredentials) ContextValidate ¶

func (m *GoogleCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this google credentials based on context it is used

func (*GoogleCredentials) MarshalBinary ¶

func (m *GoogleCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoogleCredentials) UnmarshalBinary ¶

func (m *GoogleCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoogleCredentials) Validate ¶

func (m *GoogleCredentials) Validate(formats strfmt.Registry) error

Validate validates this google credentials

type GoogleSettings ¶

type GoogleSettings struct {

	// OAuth client application identifier
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// If enabled, users' data is collected by calling the `userinfo` endpoint.
	GetUserInfo bool `json:"get_user_info,omitempty" yaml:"get_user_info,omitempty"`

	// URL used to define the {baseURL} for any OpenID Connect endpoint when authorizing against ACP.
	IssuerURL string `json:"issuer_url,omitempty" yaml:"issuer_url,omitempty"`

	// An array of additional scopes your client requests
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`
}

GoogleSettings Google IDP specific settings

swagger:model GoogleSettings

func (*GoogleSettings) ContextValidate ¶

func (m *GoogleSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this google settings based on context it is used

func (*GoogleSettings) MarshalBinary ¶

func (m *GoogleSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoogleSettings) UnmarshalBinary ¶

func (m *GoogleSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoogleSettings) Validate ¶

func (m *GoogleSettings) Validate(formats strfmt.Registry) error

Validate validates this google settings

type GraphQLField ¶

type GraphQLField struct {

	// if false it is not possible to assign a policy, set to false if policy is declaratively assigned
	CanHavePolicy bool `json:"can_have_policy,omitempty" yaml:"can_have_policy,omitempty"`

	// name of graphQL field
	// Example: id
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// optional id of a policy
	// Example: block
	PolicyID string `json:"policy_id,omitempty" yaml:"policy_id,omitempty"`
}

GraphQLField graph q l field

swagger:model GraphQLField

func (*GraphQLField) ContextValidate ¶

func (m *GraphQLField) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this graph q l field based on context it is used

func (*GraphQLField) MarshalBinary ¶

func (m *GraphQLField) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GraphQLField) UnmarshalBinary ¶

func (m *GraphQLField) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GraphQLField) Validate ¶

func (m *GraphQLField) Validate(formats strfmt.Registry) error

Validate validates this graph q l field

type GraphQLType ¶

type GraphQLType struct {

	// if false it is not possible to assign a policy, set to false if policy is declaratively assigned
	CanHavePolicy bool `json:"can_have_policy,omitempty" yaml:"can_have_policy,omitempty"`

	// optional fields of graphql type
	Fields []*GraphQLField `json:"fields" yaml:"fields"`

	// name of graphQL type, currently supported types are Interfaces and Objects
	// Example: block
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// optional id of a policy
	// Example: block
	PolicyID string `json:"policy_id,omitempty" yaml:"policy_id,omitempty"`
}

GraphQLType graph q l type

swagger:model GraphQLType

func (*GraphQLType) ContextValidate ¶

func (m *GraphQLType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this graph q l type based on the context it is used

func (*GraphQLType) MarshalBinary ¶

func (m *GraphQLType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GraphQLType) UnmarshalBinary ¶

func (m *GraphQLType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GraphQLType) Validate ¶

func (m *GraphQLType) Validate(formats strfmt.Registry) error

Validate validates this graph q l type

type GraphQLTypes ¶

type GraphQLTypes []*GraphQLType

GraphQLTypes graph q l types

swagger:model GraphQLTypes

func (GraphQLTypes) ContextValidate ¶

func (m GraphQLTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this graph q l types based on the context it is used

func (GraphQLTypes) Validate ¶

func (m GraphQLTypes) Validate(formats strfmt.Registry) error

Validate validates this graph q l types

type IDP ¶

type IDP struct {

	// attributes
	Attributes Attributes `json:"attributes,omitempty" yaml:"attributes,omitempty"`

	// ID of the authorization server (workspace) to which the IDP is connected
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// Client application ID
	//
	// It serves as a reference to a client application that is created in the System authorization
	// server (workspace), when a custom login page is created.
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// config
	Config *IDPConfiguration `json:"config,omitempty" yaml:"config,omitempty"`

	// credentials
	Credentials *IDPCredentials `json:"credentials,omitempty" yaml:"credentials,omitempty"`

	// If set to `true`, the IDP is disabled
	//
	// When an IDP is disabled, it is not available for the users to be used. It is also not
	// displayed on the login page.
	Disabled bool `json:"disabled,omitempty" yaml:"disabled,omitempty"`

	// discovery settings
	DiscoverySettings *IDPDiscoverySettings `json:"discovery_settings,omitempty" yaml:"discovery_settings,omitempty"`

	// Can be used to e.g. modify the order in which the Identity Providers are presented on the login page.
	// Example: 1
	DisplayOrder int64 `json:"display_order,omitempty" yaml:"display_order,omitempty"`

	// If set to `true`, the IDP is not displayed on the login page.
	//
	// When an IDP is hidden, it will not be displayed on the login page. It can still be used
	// and script extensions can enabled it.
	Hidden bool `json:"hidden,omitempty" yaml:"hidden,omitempty"`

	// Unique ID of your identity provider
	//
	// If not provided, a random ID is generated.
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// ID of the Identity Pool to which the IDP is connected
	IdentityPoolID string `json:"identity_pool_id,omitempty" yaml:"identity_pool_id,omitempty"`

	// jit
	Jit *JITSettings `json:"jit,omitempty" yaml:"jit,omitempty"`

	// Logo URI
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// mappings
	Mappings Mappings `json:"mappings,omitempty" yaml:"mappings,omitempty"`

	// Defines the type of an IDP
	//
	// Cloudentity is designed to make it possible for you to bring any of your own IDPs and integrate it
	// with Cloudentity as it delivers enterprise connectors for major Cloud IDPs and a possibility for
	// custom integration DKS for home-built solutions. You can also use built-in Sandbox IDP, which
	// is a static IDP, to create an IDP for testing purposes.
	Method string `json:"method,omitempty" yaml:"method,omitempty"`

	// Display name of your IDP
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// Points to the ID of the custom app, null if not set
	PostAuthnAppID string `json:"post_authn_app_id,omitempty" yaml:"post_authn_app_id,omitempty"`

	// settings
	Settings *IDPSettings `json:"settings,omitempty" yaml:"settings,omitempty"`

	// sso settings
	SsoSettings *IDPSSOSettings `json:"sso_settings,omitempty" yaml:"sso_settings,omitempty"`

	// Authentication method reference
	//
	// An array of case sensitive strings for authentication methods that are used in the user
	// authentication.
	//
	// For example, an IDP may require the user to provide a biometric authentication using facial
	// recognition. For that, the value of the authentication method reference is `face`.
	StaticAmr []string `json:"static_amr" yaml:"static_amr"`

	// ID of the tenant where an IDP is connected
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// token exchange settings
	TokenExchangeSettings *IDPTokenExchangeSettings `json:"token_exchange_settings,omitempty" yaml:"token_exchange_settings,omitempty"`

	// IDP version to track internal changes
	// version that is currently supported: 3
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`

	// ID of the Workspace to which the IDP is connected
	WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"`
}

IDP ID p

swagger:model IDP

func (*IDP) ContextValidate ¶

func (m *IDP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ID p based on the context it is used

func (*IDP) MarshalBinary ¶

func (m *IDP) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDP) UnmarshalBinary ¶

func (m *IDP) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDP) Validate ¶

func (m *IDP) Validate(formats strfmt.Registry) error

Validate validates this ID p

type IDPConfiguration ¶

type IDPConfiguration struct {

	// If set to `true`, the claims are reloaded while issuing an access token.
	//
	// Currently it is only available for Identity Pool IDP.
	ReloadClaimsAtRefreshToken bool `json:"reload_claims_at_refresh_token,omitempty" yaml:"reload_claims_at_refresh_token,omitempty"`
}

IDPConfiguration ID p configuration

swagger:model IDPConfiguration

func (*IDPConfiguration) ContextValidate ¶

func (m *IDPConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ID p configuration based on context it is used

func (*IDPConfiguration) MarshalBinary ¶

func (m *IDPConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPConfiguration) UnmarshalBinary ¶

func (m *IDPConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPConfiguration) Validate ¶

func (m *IDPConfiguration) Validate(formats strfmt.Registry) error

Validate validates this ID p configuration

type IDPCredentials ¶

type IDPCredentials struct {

	// auth0
	Auth0 *Auth0Credentials `json:"auth0,omitempty" yaml:"auth0,omitempty"`

	// azure
	Azure *AzureCredentials `json:"azure,omitempty" yaml:"azure,omitempty"`

	// azureb2c
	Azureb2c *AzureB2CCredentials `json:"azureb2c,omitempty" yaml:"azureb2c,omitempty"`

	// cognito
	Cognito *CognitoCredentials `json:"cognito,omitempty" yaml:"cognito,omitempty"`

	// custom
	Custom CustomCredentials `json:"custom,omitempty" yaml:"custom,omitempty"`

	// external
	External *ExternalCredentials `json:"external,omitempty" yaml:"external,omitempty"`

	// github
	Github *GithubCredentials `json:"github,omitempty" yaml:"github,omitempty"`

	// google
	Google *GoogleCredentials `json:"google,omitempty" yaml:"google,omitempty"`

	// intelli trust
	IntelliTrust *IntelliTrustCredentials `json:"intelli_trust,omitempty" yaml:"intelli_trust,omitempty"`

	// oidc
	Oidc *OIDCCredentials `json:"oidc,omitempty" yaml:"oidc,omitempty"`

	// okta
	Okta *OktaCredentials `json:"okta,omitempty" yaml:"okta,omitempty"`

	// saml
	Saml *SAMLCredentials `json:"saml,omitempty" yaml:"saml,omitempty"`

	// static
	Static *StaticCredentials `json:"static,omitempty" yaml:"static,omitempty"`
}

IDPCredentials ID p credentials

swagger:model IDPCredentials

func (*IDPCredentials) ContextValidate ¶

func (m *IDPCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ID p credentials based on the context it is used

func (*IDPCredentials) MarshalBinary ¶

func (m *IDPCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPCredentials) UnmarshalBinary ¶

func (m *IDPCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPCredentials) Validate ¶

func (m *IDPCredentials) Validate(formats strfmt.Registry) error

Validate validates this ID p credentials

type IDPDiscovery ¶

type IDPDiscovery struct {

	// discovery mode
	// Enum: [domain_matching script_execution]
	DiscoveryMode string `json:"discovery_mode,omitempty" yaml:"discovery_mode,omitempty"`

	// If enabled, IDP discovery automatically redirects the user to their own IDP and does not
	// display IDPs of other users while the users accesses the server/application.
	// Example: false
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
}

IDPDiscovery ID p discovery

swagger:model IDPDiscovery

func (*IDPDiscovery) ContextValidate ¶

func (m *IDPDiscovery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ID p discovery based on context it is used

func (*IDPDiscovery) MarshalBinary ¶

func (m *IDPDiscovery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPDiscovery) UnmarshalBinary ¶

func (m *IDPDiscovery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPDiscovery) Validate ¶

func (m *IDPDiscovery) Validate(formats strfmt.Registry) error

Validate validates this ID p discovery

type IDPDiscoverySettings ¶

type IDPDiscoverySettings struct {

	// An array of email domains configured for an IDP for the purposes of IDP discovery
	//
	// If a domain is connected to an IDP and this domain is used during the login process, the IDP
	// is automatically discovered and the user is either presented with a suggested IDP or is
	// instantly redirected to their IDP configured for the user's email domain.
	Domains []IDPDomain `json:"domains" yaml:"domains"`

	// When enabled, this provider will appear on the selection list, in case the discovery process
	// could not find a matching provider. This can be used to limit the username enumeration attacks
	// and at least one of the providers is recommended to be set as fallback provider.
	FallbackProvider bool `json:"fallback_provider,omitempty" yaml:"fallback_provider,omitempty"`

	// When enabled, the system will first attempt to find the identifier in the corresponding user store.
	//
	// This function is only applicable for Identity Pools and Identity Providers that have Provisioning
	// mechanism activated.
	IdentifierBasedMatching bool `json:"identifier_based_matching,omitempty" yaml:"identifier_based_matching,omitempty"`

	// If the intelligent IDP discovery is enabled and the instant redirect flag is on, the user is
	// instantly redirected to a proper Identity Provider as soon as a match is hit based on the
	// domain when a user is typing their email in the username field
	InstantRedirect bool `json:"instant_redirect,omitempty" yaml:"instant_redirect,omitempty"`
}

IDPDiscoverySettings ID p discovery settings

swagger:model IDPDiscoverySettings

func (*IDPDiscoverySettings) ContextValidate ¶

func (m *IDPDiscoverySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ID p discovery settings based on the context it is used

func (*IDPDiscoverySettings) MarshalBinary ¶

func (m *IDPDiscoverySettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPDiscoverySettings) UnmarshalBinary ¶

func (m *IDPDiscoverySettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPDiscoverySettings) Validate ¶

func (m *IDPDiscoverySettings) Validate(formats strfmt.Registry) error

Validate validates this ID p discovery settings

type IDPDomain ¶

type IDPDomain string

IDPDomain ID p domain

swagger:model IDPDomain

func (IDPDomain) ContextValidate ¶

func (m IDPDomain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ID p domain based on context it is used

func (IDPDomain) Validate ¶

func (m IDPDomain) Validate(formats strfmt.Registry) error

Validate validates this ID p domain

type IDPSSODescriptor ¶

type IDPSSODescriptor struct {

	// artifact resolution services
	ArtifactResolutionServices []*Endpoint `json:"ArtifactResolutionServices" yaml:"ArtifactResolutionServices"`

	// assertion ID request services
	AssertionIDRequestServices []*Endpoint `json:"AssertionIDRequestServices" yaml:"AssertionIDRequestServices"`

	// attribute profiles
	AttributeProfiles []string `json:"AttributeProfiles" yaml:"AttributeProfiles"`

	// attributes
	Attributes []*Attribute `json:"Attributes" yaml:"Attributes"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact people
	ContactPeople []*ContactPerson `json:"ContactPeople" yaml:"ContactPeople"`

	// error URL
	ErrorURL string `json:"ErrorURL,omitempty" yaml:"ErrorURL,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// manage name ID services
	ManageNameIDServices []*Endpoint `json:"ManageNameIDServices" yaml:"ManageNameIDServices"`

	// name ID formats
	NameIDFormats []NameIDFormat `json:"NameIDFormats" yaml:"NameIDFormats"`

	// name ID mapping services
	NameIDMappingServices []*Endpoint `json:"NameIDMappingServices" yaml:"NameIDMappingServices"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// protocol support enumeration
	ProtocolSupportEnumeration string `json:"ProtocolSupportEnumeration,omitempty" yaml:"ProtocolSupportEnumeration,omitempty"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// single logout services
	SingleLogoutServices []*Endpoint `json:"SingleLogoutServices" yaml:"SingleLogoutServices"`

	// single sign on services
	SingleSignOnServices []*Endpoint `json:"SingleSignOnServices" yaml:"SingleSignOnServices"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`

	// want authn requests signed
	WantAuthnRequestsSigned bool `json:"WantAuthnRequestsSigned,omitempty" yaml:"WantAuthnRequestsSigned,omitempty"`

	// XML name
	XMLName *Name `json:"XMLName,omitempty" yaml:"XMLName,omitempty"`
}

IDPSSODescriptor IDPSSODescriptor represents the SAML IDPSSODescriptorType object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.3

swagger:model IDPSSODescriptor

func (*IDPSSODescriptor) ContextValidate ¶

func (m *IDPSSODescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ID p s s o descriptor based on the context it is used

func (*IDPSSODescriptor) MarshalBinary ¶

func (m *IDPSSODescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPSSODescriptor) UnmarshalBinary ¶

func (m *IDPSSODescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPSSODescriptor) Validate ¶

func (m *IDPSSODescriptor) Validate(formats strfmt.Registry) error

Validate validates this ID p s s o descriptor

type IDPSSOSettings ¶

type IDPSSOSettings struct {

	// Opt this IDP out of workspace SSO enablement
	Disabled bool `json:"disabled,omitempty" yaml:"disabled,omitempty"`
}

IDPSSOSettings ID p s s o settings

swagger:model IDPSSOSettings

func (*IDPSSOSettings) ContextValidate ¶

func (m *IDPSSOSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ID p s s o settings based on context it is used

func (*IDPSSOSettings) MarshalBinary ¶

func (m *IDPSSOSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPSSOSettings) UnmarshalBinary ¶

func (m *IDPSSOSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPSSOSettings) Validate ¶

func (m *IDPSSOSettings) Validate(formats strfmt.Registry) error

Validate validates this ID p s s o settings

type IDPSettings ¶

type IDPSettings struct {

	// auth0
	Auth0 *Auth0Settings `json:"auth0,omitempty" yaml:"auth0,omitempty"`

	// azure
	Azure *AzureSettings `json:"azure,omitempty" yaml:"azure,omitempty"`

	// azureb2c
	Azureb2c *AzureB2CSettings `json:"azureb2c,omitempty" yaml:"azureb2c,omitempty"`

	// cognito
	Cognito *CognitoSettings `json:"cognito,omitempty" yaml:"cognito,omitempty"`

	// custom
	Custom *CustomSettings `json:"custom,omitempty" yaml:"custom,omitempty"`

	// external
	External *ExternalSettings `json:"external,omitempty" yaml:"external,omitempty"`

	// github
	Github *GithubSettings `json:"github,omitempty" yaml:"github,omitempty"`

	// google
	Google *GoogleSettings `json:"google,omitempty" yaml:"google,omitempty"`

	// intelli trust
	IntelliTrust *IntelliTrustSettings `json:"intelli_trust,omitempty" yaml:"intelli_trust,omitempty"`

	// oidc
	Oidc *OIDCSettings `json:"oidc,omitempty" yaml:"oidc,omitempty"`

	// okta
	Okta *OktaSettings `json:"okta,omitempty" yaml:"okta,omitempty"`

	// saml
	Saml *SAMLSettings `json:"saml,omitempty" yaml:"saml,omitempty"`

	// static
	Static *StaticSettings `json:"static,omitempty" yaml:"static,omitempty"`
}

IDPSettings ID p settings

swagger:model IDPSettings

func (*IDPSettings) ContextValidate ¶

func (m *IDPSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ID p settings based on the context it is used

func (*IDPSettings) MarshalBinary ¶

func (m *IDPSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPSettings) UnmarshalBinary ¶

func (m *IDPSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPSettings) Validate ¶

func (m *IDPSettings) Validate(formats strfmt.Registry) error

Validate validates this ID p settings

type IDPTokenExchangeSettings ¶

type IDPTokenExchangeSettings struct {

	// If enabled token issued by this IDP can be used for token exchange
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
}

IDPTokenExchangeSettings ID p token exchange settings

swagger:model IDPTokenExchangeSettings

func (*IDPTokenExchangeSettings) ContextValidate ¶

func (m *IDPTokenExchangeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ID p token exchange settings based on context it is used

func (*IDPTokenExchangeSettings) MarshalBinary ¶

func (m *IDPTokenExchangeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDPTokenExchangeSettings) UnmarshalBinary ¶

func (m *IDPTokenExchangeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDPTokenExchangeSettings) Validate ¶

func (m *IDPTokenExchangeSettings) Validate(formats strfmt.Registry) error

Validate validates this ID p token exchange settings

type IDPs ¶

type IDPs []*IDP

IDPs ID ps

swagger:model IDPs

func (IDPs) ContextValidate ¶

func (m IDPs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ID ps based on the context it is used

func (IDPs) Validate ¶

func (m IDPs) Validate(formats strfmt.Registry) error

Validate validates this ID ps

type IdentifierType ¶

type IdentifierType string

IdentifierType identifier type

swagger:model IdentifierType

func (IdentifierType) ContextValidate ¶

func (m IdentifierType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this identifier type based on context it is used

func (IdentifierType) Validate ¶

func (m IdentifierType) Validate(formats strfmt.Registry) error

Validate validates this identifier type

type IdentityAssuranceConfiguration ¶

type IdentityAssuranceConfiguration struct {

	// JSON array containing all attachment types supported by the OP.  REQUIRED when OP supports attachments. Possible values are external and embedded.
	Attachments []string `json:"attachments" yaml:"attachments"`

	// claims in verified claims
	ClaimsInVerifiedClaims []string `json:"claims_in_verified_claims" yaml:"claims_in_verified_claims"`

	// REQUIRED when OP supports external attachments. JSON array containing all supported digest algorithms which can be used as alg property within
	// the digest object of external attachments. If the OP supports external attachments, at least the algorithm sha-256 MUST be supported by the OP as well.
	DigestAlgorithms []string `json:"digest_algorithms" yaml:"digest_algorithms"`

	// JSON array containing all identity document types utilized by the OP for identity verification. REQUIRED when evidence_supported contains "document".
	Documents []string `json:"documents" yaml:"documents"`

	// JSON array containing the check methods the OP supports for evidences of type "document".
	DocumentsCheckMethods []string `json:"documents_check_methods" yaml:"documents_check_methods"`

	// JSON array containing the methods the OP supports for evidences of type "document".
	DocumentsMethods []string `json:"documents_methods" yaml:"documents_methods"`

	// JSON array containing all electronic record types the OP supports. REQUIRED when evidence_supported contains "electronic_record".
	ElectronicRecords []string `json:"electronic_records" yaml:"electronic_records"`

	// Boolean value indicating support for verified_claims, i.e., the OpenID Connect for Identity Assurance extension.
	EnableVerifiedClaims bool `json:"enable_verified_claims,omitempty" yaml:"enable_verified_claims,omitempty"`

	// JSON array containing all types of identity evidence the OP uses.
	Evidence []string `json:"evidence" yaml:"evidence"`

	// JSON array containing all supported trust frameworks.
	TrustFrameworks []string `json:"trust_frameworks" yaml:"trust_frameworks"`
}

IdentityAssuranceConfiguration identity assurance configuration

swagger:model IdentityAssuranceConfiguration

func (*IdentityAssuranceConfiguration) ContextValidate ¶

func (m *IdentityAssuranceConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this identity assurance configuration based on context it is used

func (*IdentityAssuranceConfiguration) MarshalBinary ¶

func (m *IdentityAssuranceConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IdentityAssuranceConfiguration) UnmarshalBinary ¶

func (m *IdentityAssuranceConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IdentityAssuranceConfiguration) Validate ¶

func (m *IdentityAssuranceConfiguration) Validate(formats strfmt.Registry) error

Validate validates this identity assurance configuration

type IndexedEndpoint ¶

type IndexedEndpoint struct {

	// binding
	Binding string `json:"Binding,omitempty" yaml:"Binding,omitempty"`

	// index
	Index int64 `json:"Index,omitempty" yaml:"Index,omitempty"`

	// is default
	IsDefault bool `json:"IsDefault,omitempty" yaml:"IsDefault,omitempty"`

	// location
	Location string `json:"Location,omitempty" yaml:"Location,omitempty"`

	// response location
	ResponseLocation string `json:"ResponseLocation,omitempty" yaml:"ResponseLocation,omitempty"`
}

IndexedEndpoint IndexedEndpoint represents the SAML IndexedEndpointType object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.3

swagger:model IndexedEndpoint

func (*IndexedEndpoint) ContextValidate ¶

func (m *IndexedEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this indexed endpoint based on context it is used

func (*IndexedEndpoint) MarshalBinary ¶

func (m *IndexedEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IndexedEndpoint) UnmarshalBinary ¶

func (m *IndexedEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IndexedEndpoint) Validate ¶

func (m *IndexedEndpoint) Validate(formats strfmt.Registry) error

Validate validates this indexed endpoint

type InitialAccessTokenSettings ¶

type InitialAccessTokenSettings struct {

	// Enables initial access token for dynamic client registration
	//
	// If enabled, the registration endpoint requires an access token with the dcr_register scope granted.
	// To issue the access token, you need a separate client with the client credentials grant type.
	// Upon successful registration, the access token is terminated.
	Required bool `json:"required,omitempty" yaml:"required,omitempty"`
}

InitialAccessTokenSettings initial access token settings

swagger:model InitialAccessTokenSettings

func (*InitialAccessTokenSettings) ContextValidate ¶

func (m *InitialAccessTokenSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this initial access token settings based on context it is used

func (*InitialAccessTokenSettings) MarshalBinary ¶

func (m *InitialAccessTokenSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitialAccessTokenSettings) UnmarshalBinary ¶

func (m *InitialAccessTokenSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitialAccessTokenSettings) Validate ¶

func (m *InitialAccessTokenSettings) Validate(formats strfmt.Registry) error

Validate validates this initial access token settings

type IntelliTrustCredentials ¶

type IntelliTrustCredentials struct {

	// OAuth client application secret from your Entrust Datacard® IntelliTrust™ Authentication
	// Service general settings
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`
}

IntelliTrustCredentials IntelliTrust™ IDP specific credentials

swagger:model IntelliTrustCredentials

func (*IntelliTrustCredentials) ContextValidate ¶

func (m *IntelliTrustCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intelli trust credentials based on context it is used

func (*IntelliTrustCredentials) MarshalBinary ¶

func (m *IntelliTrustCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntelliTrustCredentials) UnmarshalBinary ¶

func (m *IntelliTrustCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntelliTrustCredentials) Validate ¶

func (m *IntelliTrustCredentials) Validate(formats strfmt.Registry) error

Validate validates this intelli trust credentials

type IntelliTrustSettings ¶

type IntelliTrustSettings struct {

	// OAuth client application identifier from your Entrust Datacard® IntelliTrust™ Authentication
	// Service general settings
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// String represented domain of the Entrust Datacard® IntelliTrust™ Authentication Service for your organization
	// Example: cloudentity-dev.us.trustedauth.com
	Domain string `json:"domain,omitempty" yaml:"domain,omitempty"`

	// If enabled, the groups a user belongs to are collected
	//
	// If you want to fetch groups from the IntelliTrust™ IDP, you need to add the `groups` claim
	// for your application on the IDP side.
	FetchGroups bool `json:"fetch_groups,omitempty" yaml:"fetch_groups,omitempty"`

	// If enabled, users' data is collected by calling the `userinfo` IntelliTrust™ endpoint.
	GetUserInfo bool `json:"get_user_info,omitempty" yaml:"get_user_info,omitempty"`

	// An array of additional scopes your client requests
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`
}

IntelliTrustSettings IntelliTrust™ IDP specific settings

swagger:model IntelliTrustSettings

func (*IntelliTrustSettings) ContextValidate ¶

func (m *IntelliTrustSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intelli trust settings based on context it is used

func (*IntelliTrustSettings) MarshalBinary ¶

func (m *IntelliTrustSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntelliTrustSettings) UnmarshalBinary ¶

func (m *IntelliTrustSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntelliTrustSettings) Validate ¶

func (m *IntelliTrustSettings) Validate(formats strfmt.Registry) error

Validate validates this intelli trust settings

type Intermediary ¶

type Intermediary struct {

	// Array of strings representing ways to contact people responsible for this intermediary
	Contacts []string `json:"contacts" yaml:"contacts"`

	// A short description of the intermediary
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// A URL string that references a logo for this intermediary
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// Name of intermediary party
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// Registry references for this intermediary
	RegistryReferences []*RegistryReference `json:"registry_references" yaml:"registry_references"`

	// A URL string of a web page providing information about the intermediary
	URI string `json:"uri,omitempty" yaml:"uri,omitempty"`
}

Intermediary intermediary

swagger:model Intermediary

func (*Intermediary) ContextValidate ¶

func (m *Intermediary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intermediary based on the context it is used

func (*Intermediary) MarshalBinary ¶

func (m *Intermediary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Intermediary) UnmarshalBinary ¶

func (m *Intermediary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Intermediary) Validate ¶

func (m *Intermediary) Validate(formats strfmt.Registry) error

Validate validates this intermediary

type JITAdressVerificationMode ¶

type JITAdressVerificationMode string

JITAdressVerificationMode j i t adress verification mode

swagger:model JITAdressVerificationMode

func (JITAdressVerificationMode) ContextValidate ¶

func (m JITAdressVerificationMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this j i t adress verification mode based on context it is used

func (JITAdressVerificationMode) Validate ¶

func (m JITAdressVerificationMode) Validate(formats strfmt.Registry) error

Validate validates this j i t adress verification mode

type JITProvisioning ¶

type JITProvisioning struct {

	// identifier salt
	IdentifierSalt string `json:"identifier_salt,omitempty" yaml:"identifier_salt,omitempty"`

	// mode
	Mode ProvisioningMode `json:"mode,omitempty" yaml:"mode,omitempty"`

	// pool id
	PoolID string `json:"pool_id,omitempty" yaml:"pool_id,omitempty"`

	// user
	User *JITUser `json:"user,omitempty" yaml:"user,omitempty"`
}

JITProvisioning j i t provisioning

swagger:model JITProvisioning

func (*JITProvisioning) ContextValidate ¶

func (m *JITProvisioning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this j i t provisioning based on the context it is used

func (*JITProvisioning) MarshalBinary ¶

func (m *JITProvisioning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JITProvisioning) UnmarshalBinary ¶

func (m *JITProvisioning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JITProvisioning) Validate ¶

func (m *JITProvisioning) Validate(formats strfmt.Registry) error

Validate validates this j i t provisioning

type JITSettings ¶

type JITSettings struct {

	// enabled
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`

	// provisioning
	Provisioning *JITProvisioning `json:"provisioning,omitempty" yaml:"provisioning,omitempty"`
}

JITSettings j i t settings

swagger:model JITSettings

func (*JITSettings) ContextValidate ¶

func (m *JITSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this j i t settings based on the context it is used

func (*JITSettings) MarshalBinary ¶

func (m *JITSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JITSettings) UnmarshalBinary ¶

func (m *JITSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JITSettings) Validate ¶

func (m *JITSettings) Validate(formats strfmt.Registry) error

Validate validates this j i t settings

type JITUser ¶

type JITUser struct {

	// addresses
	Addresses []*JITUserAddress `json:"addresses" yaml:"addresses"`

	// attributes mapping
	AttributesMapping UserAttributesMapping `json:"attributes_mapping,omitempty" yaml:"attributes_mapping,omitempty"`

	// identifiers
	Identifiers []*JITUserIdentifier `json:"identifiers" yaml:"identifiers"`
}

JITUser j i t user

swagger:model JITUser

func (*JITUser) ContextValidate ¶

func (m *JITUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this j i t user based on the context it is used

func (*JITUser) MarshalBinary ¶

func (m *JITUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JITUser) UnmarshalBinary ¶

func (m *JITUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JITUser) Validate ¶

func (m *JITUser) Validate(formats strfmt.Registry) error

Validate validates this j i t user

type JITUserAddress ¶

type JITUserAddress struct {

	// source
	Source string `json:"source,omitempty" yaml:"source,omitempty"`

	// type
	Type IdentifierType `json:"type,omitempty" yaml:"type,omitempty"`

	// verification mode
	VerificationMode JITAdressVerificationMode `json:"verification_mode,omitempty" yaml:"verification_mode,omitempty"`
}

JITUserAddress j i t user address

swagger:model JITUserAddress

func (*JITUserAddress) ContextValidate ¶

func (m *JITUserAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this j i t user address based on the context it is used

func (*JITUserAddress) MarshalBinary ¶

func (m *JITUserAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JITUserAddress) UnmarshalBinary ¶

func (m *JITUserAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JITUserAddress) Validate ¶

func (m *JITUserAddress) Validate(formats strfmt.Registry) error

Validate validates this j i t user address

type JITUserIdentifier ¶

type JITUserIdentifier struct {

	// source
	Source string `json:"source,omitempty" yaml:"source,omitempty"`

	// type
	Type IdentifierType `json:"type,omitempty" yaml:"type,omitempty"`
}

JITUserIdentifier j i t user identifier

swagger:model JITUserIdentifier

func (*JITUserIdentifier) ContextValidate ¶

func (m *JITUserIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this j i t user identifier based on the context it is used

func (*JITUserIdentifier) MarshalBinary ¶

func (m *JITUserIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JITUserIdentifier) UnmarshalBinary ¶

func (m *JITUserIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JITUserIdentifier) Validate ¶

func (m *JITUserIdentifier) Validate(formats strfmt.Registry) error

Validate validates this j i t user identifier

type JWSPayloadSettings ¶

type JWSPayloadSettings struct {

	// jwks
	Jwks *ClientJWKs `json:"jwks,omitempty" yaml:"jwks,omitempty"`

	// URI of the JWKs of the trusted party responsible for signing request body
	JwksURI string `json:"jwks_uri,omitempty" yaml:"jwks_uri,omitempty"`

	// JWK source - defines where are the keys for validating dcr request signature
	// Keys can be defined at server level or can be taken from jwks_uri claim from the software statement sent by the client
	Source string `json:"source,omitempty" yaml:"source,omitempty"`
}

JWSPayloadSettings j w s payload settings

swagger:model JWSPayloadSettings

func (*JWSPayloadSettings) ContextValidate ¶

func (m *JWSPayloadSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this j w s payload settings based on the context it is used

func (*JWSPayloadSettings) MarshalBinary ¶

func (m *JWSPayloadSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JWSPayloadSettings) UnmarshalBinary ¶

func (m *JWSPayloadSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JWSPayloadSettings) Validate ¶

func (m *JWSPayloadSettings) Validate(formats strfmt.Registry) error

Validate validates this j w s payload settings

type JobID ¶

type JobID string

JobID job ID

swagger:model JobID

func (JobID) ContextValidate ¶

func (m JobID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this job ID based on context it is used

func (JobID) Validate ¶

func (m JobID) Validate(formats strfmt.Registry) error

Validate validates this job ID

type KSAConsent ¶

type KSAConsent struct {

	// Client application identifier
	// Example: bugkgm23g9kregtu051g
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// Consent identifier
	// Example: cavbbioiagh6fla7koig
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// Consent creation date
	// Example: 2022-07-01T08:52:27.127932Z
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// Consent expiration date
	// Example: 2023-03-01T09:02:27.127932Z
	// Format: date-time
	Expiry strfmt.DateTime `json:"expiry,omitempty" yaml:"expiry,omitempty"`

	// Workspace identifier
	// Example: server
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// status
	Status ConsentStatus `json:"status,omitempty" yaml:"status,omitempty"`

	// Tenant identifier
	// Example: my-company
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

KSAConsent k s a consent

swagger:model KSAConsent

func (*KSAConsent) ContextValidate ¶

func (m *KSAConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this k s a consent based on the context it is used

func (*KSAConsent) MarshalBinary ¶

func (m *KSAConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KSAConsent) UnmarshalBinary ¶

func (m *KSAConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KSAConsent) Validate ¶

func (m *KSAConsent) Validate(formats strfmt.Registry) error

Validate validates this k s a consent

type KeyDescriptor ¶

type KeyDescriptor struct {

	// encryption methods
	EncryptionMethods []*EncryptionMethod `json:"EncryptionMethods" yaml:"EncryptionMethods"`

	// key info
	KeyInfo *KeyInfo `json:"KeyInfo,omitempty" yaml:"KeyInfo,omitempty"`

	// use
	Use string `json:"Use,omitempty" yaml:"Use,omitempty"`
}

KeyDescriptor KeyDescriptor represents the XMLSEC object of the same name

swagger:model KeyDescriptor

func (*KeyDescriptor) ContextValidate ¶

func (m *KeyDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this key descriptor based on the context it is used

func (*KeyDescriptor) MarshalBinary ¶

func (m *KeyDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyDescriptor) UnmarshalBinary ¶

func (m *KeyDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyDescriptor) Validate ¶

func (m *KeyDescriptor) Validate(formats strfmt.Registry) error

Validate validates this key descriptor

type KeyInfo ¶

type KeyInfo struct {

	// x509 data
	X509Data *X509Data `json:"X509Data,omitempty" yaml:"X509Data,omitempty"`

	// XML name
	XMLName *Name `json:"XMLName,omitempty" yaml:"XMLName,omitempty"`
}

KeyInfo KeyInfo represents the XMLSEC object of the same name

swagger:model KeyInfo

func (*KeyInfo) ContextValidate ¶

func (m *KeyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this key info based on the context it is used

func (*KeyInfo) MarshalBinary ¶

func (m *KeyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyInfo) UnmarshalBinary ¶

func (m *KeyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyInfo) Validate ¶

func (m *KeyInfo) Validate(formats strfmt.Registry) error

Validate validates this key info

type LegalEntity ¶

type LegalEntity struct {

	// party
	Party *FDXParty `json:"party,omitempty" yaml:"party,omitempty"`
}

LegalEntity legal entity

swagger:model LegalEntity

func (*LegalEntity) ContextValidate ¶

func (m *LegalEntity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this legal entity based on the context it is used

func (*LegalEntity) MarshalBinary ¶

func (m *LegalEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LegalEntity) UnmarshalBinary ¶

func (m *LegalEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LegalEntity) Validate ¶

func (m *LegalEntity) Validate(formats strfmt.Registry) error

Validate validates this legal entity

type License ¶

type License struct {

	// License expiration date
	// Example: 2023-03-01T09:02:27.127932Z
	// Format: date-time
	ExpirationDate strfmt.DateTime `json:"expiration_date,omitempty" yaml:"expiration_date,omitempty"`

	// Type of license
	// Example: trial
	// Enum: [trial enterprise]
	LicenseType string `json:"license_type,omitempty" yaml:"license_type,omitempty"`

	// License start date
	// Example: 2023-03-01T09:02:27.127932Z
	// Format: date-time
	StartTime strfmt.DateTime `json:"start_time,omitempty" yaml:"start_time,omitempty"`
}

License license

swagger:model License

func (*License) ContextValidate ¶

func (m *License) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this license based on context it is used

func (*License) MarshalBinary ¶

func (m *License) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*License) UnmarshalBinary ¶

func (m *License) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*License) Validate ¶

func (m *License) Validate(formats strfmt.Registry) error

Validate validates this license

type ListRateLimitsResponse ¶

type ListRateLimitsResponse struct {

	// global
	Global map[string]RateLimitModel `json:"global,omitempty" yaml:"global,omitempty"`

	// tenant
	Tenant map[string]RateLimitModel `json:"tenant,omitempty" yaml:"tenant,omitempty"`
}

ListRateLimitsResponse list rate limits response

swagger:model ListRateLimitsResponse

func (*ListRateLimitsResponse) ContextValidate ¶

func (m *ListRateLimitsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list rate limits response based on the context it is used

func (*ListRateLimitsResponse) MarshalBinary ¶

func (m *ListRateLimitsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListRateLimitsResponse) UnmarshalBinary ¶

func (m *ListRateLimitsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListRateLimitsResponse) Validate ¶

func (m *ListRateLimitsResponse) Validate(formats strfmt.Registry) error

Validate validates this list rate limits response

type LocalizedName ¶

type LocalizedName struct {

	// lang
	Lang string `json:"Lang,omitempty" yaml:"Lang,omitempty"`

	// value
	Value string `json:"Value,omitempty" yaml:"Value,omitempty"`
}

LocalizedName LocalizedName represents the SAML type localizedNameType.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.4

swagger:model LocalizedName

func (*LocalizedName) ContextValidate ¶

func (m *LocalizedName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this localized name based on context it is used

func (*LocalizedName) MarshalBinary ¶

func (m *LocalizedName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocalizedName) UnmarshalBinary ¶

func (m *LocalizedName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocalizedName) Validate ¶

func (m *LocalizedName) Validate(formats strfmt.Registry) error

Validate validates this localized name

type LocalizedURI ¶

type LocalizedURI struct {

	// lang
	Lang string `json:"Lang,omitempty" yaml:"Lang,omitempty"`

	// value
	Value string `json:"Value,omitempty" yaml:"Value,omitempty"`
}

LocalizedURI LocalizedURI represents the SAML type localizedURIType.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.5

swagger:model LocalizedURI

func (*LocalizedURI) ContextValidate ¶

func (m *LocalizedURI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this localized URI based on context it is used

func (*LocalizedURI) MarshalBinary ¶

func (m *LocalizedURI) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocalizedURI) UnmarshalBinary ¶

func (m *LocalizedURI) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocalizedURI) Validate ¶

func (m *LocalizedURI) Validate(formats strfmt.Registry) error

Validate validates this localized URI

type MFAAuth ¶

type MFAAuth struct {

	// email
	Email *EmailAuth `json:"email,omitempty" yaml:"email,omitempty"`

	// sms
	Sms *SMSAuth `json:"sms,omitempty" yaml:"sms,omitempty"`
}

MFAAuth m f a auth

swagger:model MFAAuth

func (*MFAAuth) ContextValidate ¶

func (m *MFAAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this m f a auth based on the context it is used

func (*MFAAuth) MarshalBinary ¶

func (m *MFAAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MFAAuth) UnmarshalBinary ¶

func (m *MFAAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MFAAuth) Validate ¶

func (m *MFAAuth) Validate(formats strfmt.Registry) error

Validate validates this m f a auth

type MFAMethod ¶

type MFAMethod struct {

	// auth
	Auth *MFAAuth `json:"auth,omitempty" yaml:"auth,omitempty"`

	// enabled
	// Required: true
	Enabled bool `json:"enabled" yaml:"enabled"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// mechanism
	// Example: email
	// Required: true
	// Enum: [sms email]
	Mechanism string `json:"mechanism" yaml:"mechanism"`

	// settings
	Settings *MFASettings `json:"settings,omitempty" yaml:"settings,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`
}

MFAMethod m f a method

swagger:model MFAMethod

func (*MFAMethod) ContextValidate ¶

func (m *MFAMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this m f a method based on the context it is used

func (*MFAMethod) MarshalBinary ¶

func (m *MFAMethod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MFAMethod) UnmarshalBinary ¶

func (m *MFAMethod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MFAMethod) Validate ¶

func (m *MFAMethod) Validate(formats strfmt.Registry) error

Validate validates this m f a method

type MFASettings ¶

type MFASettings struct {

	// email
	Email *EmailSettings `json:"email,omitempty" yaml:"email,omitempty"`

	// sms
	Sms *SMSSettings `json:"sms,omitempty" yaml:"sms,omitempty"`
}

MFASettings m f a settings

swagger:model MFASettings

func (*MFASettings) ContextValidate ¶

func (m *MFASettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this m f a settings based on the context it is used

func (*MFASettings) MarshalBinary ¶

func (m *MFASettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MFASettings) UnmarshalBinary ¶

func (m *MFASettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MFASettings) Validate ¶

func (m *MFASettings) Validate(formats strfmt.Registry) error

Validate validates this m f a settings

type Mapping ¶

type Mapping struct {

	// If enabled, the decoder makes the following "weak" conversions:
	//
	// Bools to string (true = "1", false = "0")
	//
	// numbers to string (base 10)
	//
	// bools to int/uint (true = 1, false = 0)
	//
	// strings to int/uint (base implied by prefix)
	//
	// int to bool (true if value != 0)
	//
	// string to bool (accepts only the following: 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False)
	//
	// empty array = empty map and vice versa
	//
	// negative numbers to overflowed uint values (base 10)
	//
	// slice of maps to a merged map
	//
	// single values are converted to slices if required. Each element is weakly decoded.
	// Example: false
	AllowWeakDecoding bool `json:"allow_weak_decoding,omitempty" yaml:"allow_weak_decoding,omitempty"`

	// mode
	Mode MappingMode `json:"mode,omitempty" yaml:"mode,omitempty"`

	// Source attribute.
	//
	// Source path to the attribute(s) which should be copied to the authentication context.
	// Use '.' to copy everything.
	// Required for dynamic mode.
	// Example: access_token
	Source string `json:"source,omitempty" yaml:"source,omitempty"`

	// When static mode is used, this field contains a value that will be populated into a target attribute.
	Static interface{} `json:"static,omitempty" yaml:"static,omitempty"`

	// Target attribute.
	//
	// Target path in the authentication context where source attribute(s) should be pasted.
	// Use '.' to paste to the context top level object.
	// Example: .
	// Required: true
	Target string `json:"target" yaml:"target"`

	// Type of the target attribute
	//
	// The `type` parameter accepts the following values:
	// `number`, `string`, `bool`, `number_array`, `string_array`, `bool_array`, `any`.
	// Example: string
	// Required: true
	Type string `json:"type" yaml:"type"`
}

Mapping Attribute mapping.

Source and target must be provided.

swagger:model Mapping

func (*Mapping) ContextValidate ¶

func (m *Mapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this mapping based on the context it is used

func (*Mapping) MarshalBinary ¶

func (m *Mapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Mapping) UnmarshalBinary ¶

func (m *Mapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Mapping) Validate ¶

func (m *Mapping) Validate(formats strfmt.Registry) error

Validate validates this mapping

type MappingMode ¶

type MappingMode string

MappingMode mapping mode

swagger:model MappingMode

func (MappingMode) ContextValidate ¶

func (m MappingMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mapping mode based on context it is used

func (MappingMode) Validate ¶

func (m MappingMode) Validate(formats strfmt.Registry) error

Validate validates this mapping mode

type Mappings ¶

type Mappings []*Mapping

Mappings An array of mappings

Mapping is used to unify attributes from external IDPs and propagate them to the authentication context to be used later on. By mapping your authentication context attributes, you unify attributes from all IDPs that your users authenticate with. It allows you to use a set of unified attributes throughout ACP for multiple purposes.

swagger:model Mappings

func (Mappings) ContextValidate ¶

func (m Mappings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this mappings based on the context it is used

func (Mappings) Validate ¶

func (m Mappings) Validate(formats strfmt.Registry) error

Validate validates this mappings

type Metadata ¶

type Metadata map[string]interface{}

Metadata metadata

swagger:model Metadata

func (Metadata) ContextValidate ¶

func (m Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metadata based on context it is used

func (Metadata) Validate ¶

func (m Metadata) Validate(formats strfmt.Registry) error

Validate validates this metadata

type Name ¶

type Name struct {

	// space
	Space string `json:"Space,omitempty" yaml:"Space,omitempty"`
}

Name A Name represents an XML name (Local) annotated with a name space identifier (Space). In tokens returned by Decoder.Token, the Space identifier is given as a canonical URL, not the short prefix used in the document being parsed.

swagger:model Name

func (*Name) ContextValidate ¶

func (m *Name) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this name based on context it is used

func (*Name) MarshalBinary ¶

func (m *Name) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Name) UnmarshalBinary ¶

func (m *Name) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Name) Validate ¶

func (m *Name) Validate(formats strfmt.Registry) error

Validate validates this name

type NameID ¶

type NameID struct {

	// format
	Format string `json:"Format,omitempty" yaml:"Format,omitempty"`

	// name qualifier
	NameQualifier string `json:"NameQualifier,omitempty" yaml:"NameQualifier,omitempty"`

	// s p name qualifier
	SPNameQualifier string `json:"SPNameQualifier,omitempty" yaml:"SPNameQualifier,omitempty"`

	// s p provided ID
	SPProvidedID string `json:"SPProvidedID,omitempty" yaml:"SPProvidedID,omitempty"`

	// value
	Value string `json:"Value,omitempty" yaml:"Value,omitempty"`
}

NameID NameID represents the SAML element NameID.

See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.2.3

swagger:model NameID

func (*NameID) ContextValidate ¶

func (m *NameID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this name ID based on context it is used

func (*NameID) MarshalBinary ¶

func (m *NameID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NameID) UnmarshalBinary ¶

func (m *NameID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NameID) Validate ¶

func (m *NameID) Validate(formats strfmt.Registry) error

Validate validates this name ID

type NameIDFormat ¶

type NameIDFormat string

NameIDFormat NameIDFormat is the format of the id

swagger:model NameIDFormat

func (NameIDFormat) ContextValidate ¶

func (m NameIDFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this name ID format based on context it is used

func (NameIDFormat) Validate ¶

func (m NameIDFormat) Validate(formats strfmt.Registry) error

Validate validates this name ID format

type OBBRConfiguration ¶

type OBBRConfiguration struct {

	// industry
	Industry OBBRIndustry `json:"industry,omitempty" yaml:"industry,omitempty"`
}

OBBRConfiguration o b b r configuration

swagger:model OBBRConfiguration

func (*OBBRConfiguration) ContextValidate ¶

func (m *OBBRConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o b b r configuration based on the context it is used

func (*OBBRConfiguration) MarshalBinary ¶

func (m *OBBRConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OBBRConfiguration) UnmarshalBinary ¶

func (m *OBBRConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OBBRConfiguration) Validate ¶

func (m *OBBRConfiguration) Validate(formats strfmt.Registry) error

Validate validates this o b b r configuration

type OBBRIndustry ¶

type OBBRIndustry string

OBBRIndustry o b b r industry

swagger:model OBBRIndustry

func (OBBRIndustry) ContextValidate ¶

func (m OBBRIndustry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this o b b r industry based on context it is used

func (OBBRIndustry) Validate ¶

func (m OBBRIndustry) Validate(formats strfmt.Registry) error

Validate validates this o b b r industry

type OBBRMetadata ¶

type OBBRMetadata struct {

	// An array of hosts subscribed to Open Finance Webhook Notifications
	WebhookUris []string `json:"webhook_uris" yaml:"webhook_uris"`
}

OBBRMetadata o b b r metadata

swagger:model OBBRMetadata

func (*OBBRMetadata) ContextValidate ¶

func (m *OBBRMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this o b b r metadata based on context it is used

func (*OBBRMetadata) MarshalBinary ¶

func (m *OBBRMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OBBRMetadata) UnmarshalBinary ¶

func (m *OBBRMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OBBRMetadata) Validate ¶

func (m *OBBRMetadata) Validate(formats strfmt.Registry) error

Validate validates this o b b r metadata

type OBConsent ¶

type OBConsent struct {

	// account ids
	AccountIds []string `json:"account_ids" yaml:"account_ids"`

	// Client application identifier.
	// Example: \"cauqo9c9vpbs0aj2b2v0\
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// consent id
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// idempotency key
	IdempotencyKey string `json:"idempotency_key,omitempty" yaml:"idempotency_key,omitempty"`

	// request hash
	RequestHash string `json:"request_hash,omitempty" yaml:"request_hash,omitempty"`

	// Server / Workspace identifier.
	// Example: \"server\
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// spec
	Spec string `json:"spec,omitempty" yaml:"spec,omitempty"`

	// spec version
	SpecVersion SpecVersion `json:"spec_version,omitempty" yaml:"spec_version,omitempty"`

	// status
	Status string `json:"status,omitempty" yaml:"status,omitempty"`

	// Tenant identifier.
	// Example: \"tenant\
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	Type ConsentType `json:"type,omitempty" yaml:"type,omitempty"`
}

OBConsent OBConsent this type is only meant to be used for importing and exporting consents for testing

swagger:model OBConsent

func (*OBConsent) ContextValidate ¶

func (m *OBConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o b consent based on the context it is used

func (*OBConsent) MarshalBinary ¶

func (m *OBConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OBConsent) UnmarshalBinary ¶

func (m *OBConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OBConsent) Validate ¶

func (m *OBConsent) Validate(formats strfmt.Registry) error

Validate validates this o b consent

type OIDCCredentials ¶

type OIDCCredentials struct {

	// OAuth client application secret
	ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret,omitempty"`

	// private key jwt
	PrivateKeyJwt *PrivateKeyJWTCredentials `json:"private_key_jwt,omitempty" yaml:"private_key_jwt,omitempty"`
}

OIDCCredentials OIDC IDP specific credentials

swagger:model OIDCCredentials

func (*OIDCCredentials) ContextValidate ¶

func (m *OIDCCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o ID c credentials based on the context it is used

func (*OIDCCredentials) MarshalBinary ¶

func (m *OIDCCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCCredentials) UnmarshalBinary ¶

func (m *OIDCCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCCredentials) Validate ¶

func (m *OIDCCredentials) Validate(formats strfmt.Registry) error

Validate validates this o ID c credentials

type OIDCServerConsent ¶

type OIDCServerConsent interface{}

OIDCServerConsent o ID c server consent

swagger:model OIDCServerConsent

type OIDCSettings ¶

type OIDCSettings struct {

	// Client authentication method
	// Enum: [client_secret private_key_jwt]
	AuthenticationMethod string `json:"authentication_method,omitempty" yaml:"authentication_method,omitempty"`

	// OAuth client application identifier
	// Example: client
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// If enabled, users' data is collected by calling the `userinfo` endpoint.
	GetUserInfo bool `json:"get_user_info,omitempty" yaml:"get_user_info,omitempty"`

	// URL used to define the {baseURL} for any OpenID Connect endpoint when authorizing against ACP.
	IssuerURL string `json:"issuer_url,omitempty" yaml:"issuer_url,omitempty"`

	// An array of additional scopes your client requests
	// Example: ["email","profile","openid"]
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`
}

OIDCSettings OIDC IDP specific settings

swagger:model OIDCSettings

func (*OIDCSettings) ContextValidate ¶

func (m *OIDCSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this o ID c settings based on context it is used

func (*OIDCSettings) MarshalBinary ¶

func (m *OIDCSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCSettings) UnmarshalBinary ¶

func (m *OIDCSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCSettings) Validate ¶

func (m *OIDCSettings) Validate(formats strfmt.Registry) error

Validate validates this o ID c settings

type OTPConfiguration ¶

type OTPConfiguration struct {

	// The maximum time one-time code is valid.
	// Example: 5m
	// Required: true
	// Format: duration
	Expiration strfmt.Duration `json:"expiration" yaml:"expiration"`

	// The number of characters for one-time code.
	// Example: 6
	// Required: true
	// Maximum: 10
	// Minimum: 4
	Length int64 `json:"length" yaml:"length"`
}

OTPConfiguration o t p configuration

swagger:model OTPConfiguration

func (*OTPConfiguration) ContextValidate ¶

func (m *OTPConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this o t p configuration based on context it is used

func (*OTPConfiguration) MarshalBinary ¶

func (m *OTPConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OTPConfiguration) UnmarshalBinary ¶

func (m *OTPConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OTPConfiguration) Validate ¶

func (m *OTPConfiguration) Validate(formats strfmt.Registry) error

Validate validates this o t p configuration

type OktaCredentials ¶

type OktaCredentials struct {

	// supervisor client
	SupervisorClient *OktaSupervisorClient `json:"supervisor_client,omitempty" yaml:"supervisor_client,omitempty"`
}

OktaCredentials Okta IDP specific credentials

swagger:model OktaCredentials

func (*OktaCredentials) ContextValidate ¶

func (m *OktaCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this okta credentials based on the context it is used

func (*OktaCredentials) MarshalBinary ¶

func (m *OktaCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OktaCredentials) UnmarshalBinary ¶

func (m *OktaCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OktaCredentials) Validate ¶

func (m *OktaCredentials) Validate(formats strfmt.Registry) error

Validate validates this okta credentials

type OktaSettings ¶

type OktaSettings struct {

	// ID of a custom authorization server
	//
	// If the `use_org_authorization_server` parameter is set to `false`, use this field to specify
	// the ID of a custom authorization server.
	//
	// If not provided, the `default` value is used.
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// String represented domain of the Okta Authentication Service for your organization
	// Example: dev-316761.okta.com
	Domain string `json:"domain,omitempty" yaml:"domain,omitempty"`

	// If enabled, users' data is collected by calling the `userinfo` endpoint.
	GetUserInfo bool `json:"get_user_info,omitempty" yaml:"get_user_info,omitempty"`

	// An array of additional scopes your client requests
	Scopes []string `json:"scopes" yaml:"scopes"`

	// Whether to send the identifier as a `login_hint` parameter to the IDP
	SendLoginHint bool `json:"send_login_hint,omitempty" yaml:"send_login_hint,omitempty"`

	// If set to `true`, the built-in authorization server is used
	UseOrgAuthorizationServer bool `json:"use_org_authorization_server,omitempty" yaml:"use_org_authorization_server,omitempty"`
}

OktaSettings Okta IDP specific settings

swagger:model OktaSettings

func (*OktaSettings) ContextValidate ¶

func (m *OktaSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this okta settings based on context it is used

func (*OktaSettings) MarshalBinary ¶

func (m *OktaSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OktaSettings) UnmarshalBinary ¶

func (m *OktaSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OktaSettings) Validate ¶

func (m *OktaSettings) Validate(formats strfmt.Registry) error

Validate validates this okta settings

type OktaSupervisorClient ¶

type OktaSupervisorClient struct {

	// client id
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// client private key
	PrivateKey string `json:"private_key,omitempty" yaml:"private_key,omitempty"`
}

OktaSupervisorClient The `supervisor_client` parameter holds credentials for Okta's OAuth client application that are used to authorize to Okta to be able to create new client applications.

swagger:model OktaSupervisorClient

func (*OktaSupervisorClient) ContextValidate ¶

func (m *OktaSupervisorClient) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this okta supervisor client based on context it is used

func (*OktaSupervisorClient) MarshalBinary ¶

func (m *OktaSupervisorClient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OktaSupervisorClient) UnmarshalBinary ¶

func (m *OktaSupervisorClient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OktaSupervisorClient) Validate ¶

func (m *OktaSupervisorClient) Validate(formats strfmt.Registry) error

Validate validates this okta supervisor client

type OpenbankingServerConsent ¶

type OpenbankingServerConsent struct {

	// If empty it defaults to demo bank embedded in acp
	BankURL string `json:"bank_url,omitempty" yaml:"bank_url,omitempty"`
}

OpenbankingServerConsent openbanking server consent

swagger:model OpenbankingServerConsent

func (*OpenbankingServerConsent) ContextValidate ¶

func (m *OpenbankingServerConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openbanking server consent based on context it is used

func (*OpenbankingServerConsent) MarshalBinary ¶

func (m *OpenbankingServerConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenbankingServerConsent) UnmarshalBinary ¶

func (m *OpenbankingServerConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenbankingServerConsent) Validate ¶

func (m *OpenbankingServerConsent) Validate(formats strfmt.Registry) error

Validate validates this openbanking server consent

type Organization ¶

type Organization struct {

	// organization display names
	OrganizationDisplayNames []*LocalizedName `json:"OrganizationDisplayNames" yaml:"OrganizationDisplayNames"`

	// organization names
	OrganizationNames []*LocalizedName `json:"OrganizationNames" yaml:"OrganizationNames"`

	// organization u r ls
	OrganizationURLs []*LocalizedURI `json:"OrganizationURLs" yaml:"OrganizationURLs"`
}

Organization Organization represents the SAML Organization object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.2.1

swagger:model Organization

func (*Organization) ContextValidate ¶

func (m *Organization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organization based on the context it is used

func (*Organization) MarshalBinary ¶

func (m *Organization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Organization) UnmarshalBinary ¶

func (m *Organization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Organization) Validate ¶

func (m *Organization) Validate(formats strfmt.Registry) error

Validate validates this organization

type OrganizationConfiguration ¶

type OrganizationConfiguration struct {

	// An array of email domains configured for an organization for the purposes of IDP discovery
	Domains []string `json:"domains" yaml:"domains"`
}

OrganizationConfiguration organization configuration

swagger:model OrganizationConfiguration

func (*OrganizationConfiguration) ContextValidate ¶

func (m *OrganizationConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this organization configuration based on context it is used

func (*OrganizationConfiguration) MarshalBinary ¶

func (m *OrganizationConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationConfiguration) UnmarshalBinary ¶

func (m *OrganizationConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationConfiguration) Validate ¶

func (m *OrganizationConfiguration) Validate(formats strfmt.Registry) error

Validate validates this organization configuration

type PDPDescriptor ¶

type PDPDescriptor struct {

	// assertion ID request services
	AssertionIDRequestServices []*Endpoint `json:"AssertionIDRequestServices" yaml:"AssertionIDRequestServices"`

	// authz services
	AuthzServices []*Endpoint `json:"AuthzServices" yaml:"AuthzServices"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact people
	ContactPeople []*ContactPerson `json:"ContactPeople" yaml:"ContactPeople"`

	// error URL
	ErrorURL string `json:"ErrorURL,omitempty" yaml:"ErrorURL,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// name ID formats
	NameIDFormats []NameIDFormat `json:"NameIDFormats" yaml:"NameIDFormats"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// protocol support enumeration
	ProtocolSupportEnumeration string `json:"ProtocolSupportEnumeration,omitempty" yaml:"ProtocolSupportEnumeration,omitempty"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`
}

PDPDescriptor PDPDescriptor represents the SAML PDPDescriptor object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.6

swagger:model PDPDescriptor

func (*PDPDescriptor) ContextValidate ¶

func (m *PDPDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p d p descriptor based on the context it is used

func (*PDPDescriptor) MarshalBinary ¶

func (m *PDPDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PDPDescriptor) UnmarshalBinary ¶

func (m *PDPDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PDPDescriptor) Validate ¶

func (m *PDPDescriptor) Validate(formats strfmt.Registry) error

Validate validates this p d p descriptor

type PIICategory ¶

type PIICategory struct {

	// name
	// Example: HIPAA
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

PIICategory p i i category

swagger:model PIICategory

func (*PIICategory) ContextValidate ¶

func (m *PIICategory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p i i category based on context it is used

func (*PIICategory) MarshalBinary ¶

func (m *PIICategory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PIICategory) UnmarshalBinary ¶

func (m *PIICategory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PIICategory) Validate ¶

func (m *PIICategory) Validate(formats strfmt.Registry) error

Validate validates this p i i category

type PayloadSettings ¶

type PayloadSettings struct {

	// payload format
	// Enum: [json jws]
	Format string `json:"format,omitempty" yaml:"format,omitempty"`

	// jws payload
	JwsPayload *JWSPayloadSettings `json:"jws_payload,omitempty" yaml:"jws_payload,omitempty"`
}

PayloadSettings payload settings

swagger:model PayloadSettings

func (*PayloadSettings) ContextValidate ¶

func (m *PayloadSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this payload settings based on the context it is used

func (*PayloadSettings) MarshalBinary ¶

func (m *PayloadSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PayloadSettings) UnmarshalBinary ¶

func (m *PayloadSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PayloadSettings) Validate ¶

func (m *PayloadSettings) Validate(formats strfmt.Registry) error

Validate validates this payload settings

type PersonalDetails ¶

type PersonalDetails struct {

	// user id
	UserID string `json:"user_id,omitempty" yaml:"user_id,omitempty"`
}

PersonalDetails personal details

swagger:model PersonalDetails

func (*PersonalDetails) ContextValidate ¶

func (m *PersonalDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this personal details based on context it is used

func (*PersonalDetails) MarshalBinary ¶

func (m *PersonalDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PersonalDetails) UnmarshalBinary ¶

func (m *PersonalDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PersonalDetails) Validate ¶

func (m *PersonalDetails) Validate(formats strfmt.Registry) error

Validate validates this personal details

type Policy ¶

type Policy struct {

	// The definition of an Open Policy Agent (OPA) policy provided using the REGO language.
	Definition string `json:"definition,omitempty" yaml:"definition,omitempty"`

	// Unique ID of your policy
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// Language of a policy
	//
	// ACP supports creating Cloudentity policies (using a visual editor or defined using JSON or
	// YAML) and policies defined using REGO (language used by Open Policy Agent (OPA)).
	// Example: cloudentity
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// Display name for your policy
	// Example: check_consent
	PolicyName string `json:"policy_name,omitempty" yaml:"policy_name,omitempty"`

	// ID of your authorization server (workspace)
	// Example: default
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// ID of your tenant
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// Define a type of your policy
	//
	// ACP is provided with the following policy types: user, developer, machine, dcr, api.
	//
	// Depending on the policy type the policy can be assigned to different policy
	// execution points.
	//
	// A policy of the `user` type can be assigned only to the following scopes: `scope_user_grant`,
	// `server_user_token`, `client_user_token`.
	//
	// A `developer` policy can be assigned only to the `scope_client_assignment` and
	// `server_client_assignment` scopes.
	//
	// A policy of the `machine` type can be assigned only to the following scopes:
	// `scope_machine_grant`, `server_machine_token`, `client_machine_token`.
	//
	// A `dcr` policy can be assigned only to the `scope_dynamic_client_registration` and the
	// `server_dynamic_client_registration` scopes.
	//
	// An `api` policy can be assigned to all of the policy execution points.
	//
	// Each of the policies type has its defined and provided out of the box policy validators.
	// Example: user
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// An array of validators for a Cloudentity policy
	Validators []*ValidatorConfig `json:"validators" yaml:"validators"`
}

Policy policy

swagger:model Policy

func (*Policy) ContextValidate ¶

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy based on the context it is used

func (*Policy) MarshalBinary ¶

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary ¶

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate ¶

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PolicyExecutionPoint ¶

type PolicyExecutionPoint struct {

	// Optional policy ID
	// Example: 1
	PolicyID string `json:"policy_id,omitempty" yaml:"policy_id,omitempty"`

	// The ID of your authorization server (workspace)
	// Example: default
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// String representation of the target's ID
	// Example: 1
	TargetFk string `json:"target_fk,omitempty" yaml:"target_fk,omitempty"`

	// The ID of your tenant
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// String representation of the policy execution point type
	//
	// Policies can be assigned to different policy execution points. For example, you can create a
	// policy that you want to trigger while calls are made to your APIs. In this
	// case, the type of the policy execution point is `api`. While
	// choosing the policies that are applied for API calls, only those with the
	// `api` type are available.
	// Example: scope_client_assignment
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

PolicyExecutionPoint policy execution point

swagger:model PolicyExecutionPoint

func (*PolicyExecutionPoint) ContextValidate ¶

func (m *PolicyExecutionPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy execution point based on context it is used

func (*PolicyExecutionPoint) MarshalBinary ¶

func (m *PolicyExecutionPoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyExecutionPoint) UnmarshalBinary ¶

func (m *PolicyExecutionPoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyExecutionPoint) Validate ¶

func (m *PolicyExecutionPoint) Validate(formats strfmt.Registry) error

Validate validates this policy execution point

type PrivacyLedgerEvent ¶

type PrivacyLedgerEvent struct {

	// date
	// Format: date-time
	Date strfmt.DateTime `json:"date,omitempty" yaml:"date,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// payload
	Payload *PrivacyLedgerPayload `json:"payload,omitempty" yaml:"payload,omitempty"`

	// payload signature
	PayloadSignature string `json:"payload_signature,omitempty" yaml:"payload_signature,omitempty"`

	// subject
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

PrivacyLedgerEvent privacy ledger event

swagger:model PrivacyLedgerEvent

func (*PrivacyLedgerEvent) ContextValidate ¶

func (m *PrivacyLedgerEvent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this privacy ledger event based on the context it is used

func (*PrivacyLedgerEvent) MarshalBinary ¶

func (m *PrivacyLedgerEvent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivacyLedgerEvent) UnmarshalBinary ¶

func (m *PrivacyLedgerEvent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivacyLedgerEvent) Validate ¶

func (m *PrivacyLedgerEvent) Validate(formats strfmt.Registry) error

Validate validates this privacy ledger event

type PrivacyLedgerEventType ¶

type PrivacyLedgerEventType string

PrivacyLedgerEventType privacy ledger event type

swagger:model PrivacyLedgerEventType

func (PrivacyLedgerEventType) ContextValidate ¶

func (m PrivacyLedgerEventType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this privacy ledger event type based on context it is used

func (PrivacyLedgerEventType) Validate ¶

func (m PrivacyLedgerEventType) Validate(formats strfmt.Registry) error

Validate validates this privacy ledger event type

type PrivacyLedgerPayload ¶

type PrivacyLedgerPayload struct {

	// consent granted
	ConsentGranted *ConsentGrantedEvent `json:"consent_granted,omitempty" yaml:"consent_granted,omitempty"`

	// consent revoked
	ConsentRevoked *ConsentRevokedEvent `json:"consent_revoked,omitempty" yaml:"consent_revoked,omitempty"`

	// event type
	EventType PrivacyLedgerEventType `json:"event_type,omitempty" yaml:"event_type,omitempty"`
}

PrivacyLedgerPayload privacy ledger payload

swagger:model PrivacyLedgerPayload

func (*PrivacyLedgerPayload) ContextValidate ¶

func (m *PrivacyLedgerPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this privacy ledger payload based on the context it is used

func (*PrivacyLedgerPayload) MarshalBinary ¶

func (m *PrivacyLedgerPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivacyLedgerPayload) UnmarshalBinary ¶

func (m *PrivacyLedgerPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivacyLedgerPayload) Validate ¶

func (m *PrivacyLedgerPayload) Validate(formats strfmt.Registry) error

Validate validates this privacy ledger payload

type PrivateKeyJWTCredentials ¶

type PrivateKeyJWTCredentials struct {

	// Algorithm used to sign the client_assertion (see JWS) - default RS256
	Algorithm string `json:"algorithm,omitempty" yaml:"algorithm,omitempty"`

	// ExpiresIn defines how long client_assertion is valid for - default 30 seconds
	// Format: duration
	Exp strfmt.Duration `json:"exp,omitempty" yaml:"exp,omitempty"`

	// Key is a PEM formatted private key used to sign client_assertion
	Key string `json:"key,omitempty" yaml:"key,omitempty"`
}

PrivateKeyJWTCredentials PrivateKeyJWT authentication settings

swagger:model PrivateKeyJWTCredentials

func (*PrivateKeyJWTCredentials) ContextValidate ¶

func (m *PrivateKeyJWTCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this private key j w t credentials based on context it is used

func (*PrivateKeyJWTCredentials) MarshalBinary ¶

func (m *PrivateKeyJWTCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKeyJWTCredentials) UnmarshalBinary ¶

func (m *PrivateKeyJWTCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKeyJWTCredentials) Validate ¶

func (m *PrivateKeyJWTCredentials) Validate(formats strfmt.Registry) error

Validate validates this private key j w t credentials

type ProtectedType ¶

type ProtectedType string

ProtectedType protected type

swagger:model ProtectedType

func (ProtectedType) ContextValidate ¶

func (m ProtectedType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protected type based on context it is used

func (ProtectedType) Validate ¶

func (m ProtectedType) Validate(formats strfmt.Registry) error

Validate validates this protected type

type ProvisioningMode ¶

type ProvisioningMode string

ProvisioningMode provisioning mode

swagger:model ProvisioningMode

func (ProvisioningMode) ContextValidate ¶

func (m ProvisioningMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this provisioning mode based on context it is used

func (ProvisioningMode) Validate ¶

func (m ProvisioningMode) Validate(formats strfmt.Registry) error

Validate validates this provisioning mode

type Purpose ¶

type Purpose struct {

	// name
	// Example: Core Function
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// is the purpose primary. If there are multiple purposes defined, one of them must be marked as primary.
	// Example: true
	Primary bool `json:"primary,omitempty" yaml:"primary,omitempty"`
}

Purpose purpose

swagger:model Purpose

func (*Purpose) ContextValidate ¶

func (m *Purpose) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this purpose based on context it is used

func (*Purpose) MarshalBinary ¶

func (m *Purpose) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Purpose) UnmarshalBinary ¶

func (m *Purpose) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Purpose) Validate ¶

func (m *Purpose) Validate(formats strfmt.Registry) error

Validate validates this purpose

type QueueName ¶

type QueueName string

QueueName queue name

swagger:model QueueName

func (QueueName) ContextValidate ¶

func (m QueueName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this queue name based on context it is used

func (QueueName) Validate ¶

func (m QueueName) Validate(formats strfmt.Registry) error

Validate validates this queue name

type RateLimitModel ¶

type RateLimitModel struct {

	// max burst
	Burst int64 `json:"burst,omitempty" yaml:"burst,omitempty"`

	// period
	// Format: duration
	Period strfmt.Duration `json:"period,omitempty" yaml:"period,omitempty"`

	// rate
	Rate int64 `json:"rate,omitempty" yaml:"rate,omitempty"`
}

RateLimitModel rate limit model

swagger:model RateLimitModel

func (*RateLimitModel) ContextValidate ¶

func (m *RateLimitModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rate limit model based on context it is used

func (*RateLimitModel) MarshalBinary ¶

func (m *RateLimitModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RateLimitModel) UnmarshalBinary ¶

func (m *RateLimitModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RateLimitModel) Validate ¶

func (m *RateLimitModel) Validate(formats strfmt.Registry) error

Validate validates this rate limit model

type RateLimitModule ¶

type RateLimitModule string

RateLimitModule Rate limit module describes the set of apis for which the rate limit should be applied

swagger:model RateLimitModule

func (RateLimitModule) ContextValidate ¶

func (m RateLimitModule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rate limit module based on context it is used

func (RateLimitModule) Validate ¶

func (m RateLimitModule) Validate(formats strfmt.Registry) error

Validate validates this rate limit module

type RecoveryConfig ¶

type RecoveryConfig struct {

	// type
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

RecoveryConfig recovery config

swagger:model RecoveryConfig

func (*RecoveryConfig) ContextValidate ¶

func (m *RecoveryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recovery config based on context it is used

func (*RecoveryConfig) MarshalBinary ¶

func (m *RecoveryConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoveryConfig) UnmarshalBinary ¶

func (m *RecoveryConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoveryConfig) Validate ¶

func (m *RecoveryConfig) Validate(formats strfmt.Registry) error

Validate validates this recovery config

type RecurringJob ¶

type RecurringJob struct {

	// cron expression
	Cron string `json:"cron,omitempty" yaml:"cron,omitempty"`

	// id
	ID JobID `json:"id,omitempty" yaml:"id,omitempty"`

	// is paused
	Paused bool `json:"paused,omitempty" yaml:"paused,omitempty"`

	// payload
	Payload interface{} `json:"payload,omitempty" yaml:"payload,omitempty"`

	// queue
	Queue QueueName `json:"queue,omitempty" yaml:"queue,omitempty"`

	// next execution time
	// Format: date-time
	ScheduledAt strfmt.DateTime `json:"scheduled_at,omitempty" yaml:"scheduled_at,omitempty"`

	// job starting from
	// Format: date-time
	StartingFrom strfmt.DateTime `json:"starting_from,omitempty" yaml:"starting_from,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

RecurringJob recurring job

swagger:model RecurringJob

func (*RecurringJob) ContextValidate ¶

func (m *RecurringJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recurring job based on the context it is used

func (*RecurringJob) MarshalBinary ¶

func (m *RecurringJob) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecurringJob) UnmarshalBinary ¶

func (m *RecurringJob) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecurringJob) Validate ¶

func (m *RecurringJob) Validate(formats strfmt.Registry) error

Validate validates this recurring job

type RedirectURIs ¶

type RedirectURIs []string

RedirectURIs OAuth-allowed redirect URIs

Cloudentity uses redirect URIs to redirect users back to the application after they authorized the application. Along with the redirection, an authorization code or access token is added to the URL.

For backward compatibility reasons, it's also acceptable to pass `redirect_uris` as a string, for example: https://example.com/callback.

example: ["https://example.com/callback"]

swagger:model RedirectURIs

func (RedirectURIs) ContextValidate ¶

func (m RedirectURIs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this redirect u r is based on context it is used

func (RedirectURIs) Validate ¶

func (m RedirectURIs) Validate(formats strfmt.Registry) error

Validate validates this redirect u r is

type RegistrationToken ¶

type RegistrationToken struct {

	// client uri
	ClientURI string `json:"client_uri,omitempty" yaml:"client_uri,omitempty"`

	// expires in
	ExpiresIn int64 `json:"expires_in,omitempty" yaml:"expires_in,omitempty"`

	// signature
	Signature string `json:"signature,omitempty" yaml:"signature,omitempty"`
}

RegistrationToken registration token

swagger:model RegistrationToken

func (*RegistrationToken) ContextValidate ¶

func (m *RegistrationToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this registration token based on context it is used

func (*RegistrationToken) MarshalBinary ¶

func (m *RegistrationToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegistrationToken) UnmarshalBinary ¶

func (m *RegistrationToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegistrationToken) Validate ¶

func (m *RegistrationToken) Validate(formats strfmt.Registry) error

Validate validates this registration token

type RegistryReference ¶

type RegistryReference struct {

	// An identifier of the intermediary that can be looked up from a legal identity registry source.
	RegisteredEntityID string `json:"registered_entity_id,omitempty" yaml:"registered_entity_id,omitempty"`

	// The legal company name for the intermediary.
	RegisteredEntityName string `json:"registered_entity_name,omitempty" yaml:"registered_entity_name,omitempty"`

	// registry
	Registry string `json:"registry,omitempty" yaml:"registry,omitempty"`
}

RegistryReference Used for registry references. In snake case to match IETF RFC 7591 naming formats

swagger:model RegistryReference

func (*RegistryReference) ContextValidate ¶

func (m *RegistryReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this registry reference based on context it is used

func (*RegistryReference) MarshalBinary ¶

func (m *RegistryReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegistryReference) UnmarshalBinary ¶

func (m *RegistryReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegistryReference) Validate ¶

func (m *RegistryReference) Validate(formats strfmt.Registry) error

Validate validates this registry reference

type RequestedAttribute ¶

type RequestedAttribute struct {

	// friendly name
	FriendlyName string `json:"FriendlyName,omitempty" yaml:"FriendlyName,omitempty"`

	// is required
	IsRequired bool `json:"IsRequired,omitempty" yaml:"IsRequired,omitempty"`

	// name
	Name string `json:"Name,omitempty" yaml:"Name,omitempty"`

	// name format
	NameFormat string `json:"NameFormat,omitempty" yaml:"NameFormat,omitempty"`

	// values
	Values []*AttributeValue `json:"Values" yaml:"Values"`
}

RequestedAttribute RequestedAttribute represents the SAML RequestedAttribute object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.4.2

swagger:model RequestedAttribute

func (*RequestedAttribute) ContextValidate ¶

func (m *RequestedAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this requested attribute based on the context it is used

func (*RequestedAttribute) MarshalBinary ¶

func (m *RequestedAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestedAttribute) UnmarshalBinary ¶

func (m *RequestedAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestedAttribute) Validate ¶

func (m *RequestedAttribute) Validate(formats strfmt.Registry) error

Validate validates this requested attribute

type ResponseModes ¶

type ResponseModes []string

ResponseModes response modes

swagger:model ResponseModes

func (ResponseModes) ContextValidate ¶

func (m ResponseModes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response modes based on context it is used

func (ResponseModes) Validate ¶

func (m ResponseModes) Validate(formats strfmt.Registry) error

Validate validates this response modes

type ResponseTypes ¶

type ResponseTypes []string

ResponseTypes An array of allowed response types

The array may consist of the following arguments:

`code` - when supplied as the value for the `response_type` parameter, a successful response includes an authorization code

`code token` - when supplied as the value for the `response_type` parameter, a successful response includes an access token, an access token type, and an authorization code

`id_token token` - when supplied as the value for the `response_type` parameter, a successful response includes an access token, an access token type, and an ID token

`code id_token token` - when supplied as the value for the `response_type` parameter, a successful response includes an authorization code, an ID token, an access token, and an access token type.

`token` - when supplied as the value for the `response_type` parameter, a successful response includes an access token and its type. This argument is used for the implicit grant flow, but is not recommended. Instead, you should use either the authorization code grant flow with PKCE or client authentication set to `none` and with the use of PKCE.

example: ["token", "id_token", "code"] default: ["code"]

swagger:model ResponseTypes

func (ResponseTypes) ContextValidate ¶

func (m ResponseTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response types based on context it is used

func (ResponseTypes) Validate ¶

func (m ResponseTypes) Validate(formats strfmt.Registry) error

Validate validates this response types

type RevocationChannel ¶

type RevocationChannel string

RevocationChannel revocation channel

swagger:model RevocationChannel

func (RevocationChannel) ContextValidate ¶

func (m RevocationChannel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this revocation channel based on context it is used

func (RevocationChannel) Validate ¶

func (m RevocationChannel) Validate(formats strfmt.Registry) error

Validate validates this revocation channel

type RevocationReason ¶

type RevocationReason string

RevocationReason revocation reason

swagger:model RevocationReason

func (RevocationReason) ContextValidate ¶

func (m RevocationReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this revocation reason based on context it is used

func (RevocationReason) Validate ¶

func (m RevocationReason) Validate(formats strfmt.Registry) error

Validate validates this revocation reason

type Rfc6902PatchOperation ¶

type Rfc6902PatchOperation struct {

	// Each operation must have at least one `op` member, which value indicates
	// the actual operation to be performed against the target (current) configuration.
	// For a detailed description of available operations,
	// see the [Operations #4 section of the RFC6902 specification](https://datatracker.ietf.org/doc/html/rfc6902#section-4).
	// Enum: [add remove replace move copy test]
	Op string `json:"op,omitempty" yaml:"op,omitempty"`

	// String containing a JSON-Pointer value ([RFC6901](https://datatracker.ietf.org/doc/html/rfc6901))
	// that references a location within the target configuration where the operation is performed.
	//
	// For available paths, reference the exported configuration.
	Path string `json:"path,omitempty" yaml:"path,omitempty"`

	// New object value applied to the patched (target) configuration.
	Value interface{} `json:"value,omitempty" yaml:"value,omitempty"`
}

Rfc6902PatchOperation rfc6902 patch operation

swagger:model Rfc6902PatchOperation

func (*Rfc6902PatchOperation) ContextValidate ¶

func (m *Rfc6902PatchOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rfc6902 patch operation based on context it is used

func (*Rfc6902PatchOperation) MarshalBinary ¶

func (m *Rfc6902PatchOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rfc6902PatchOperation) UnmarshalBinary ¶

func (m *Rfc6902PatchOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc6902PatchOperation) Validate ¶

func (m *Rfc6902PatchOperation) Validate(formats strfmt.Registry) error

Validate validates this rfc6902 patch operation

type Rfc6902PatchOperations ¶

type Rfc6902PatchOperations []*Rfc6902PatchOperation

Rfc6902PatchOperations rfc6902 patch operations

swagger:model Rfc6902PatchOperations

func (Rfc6902PatchOperations) ContextValidate ¶

func (m Rfc6902PatchOperations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rfc6902 patch operations based on the context it is used

func (Rfc6902PatchOperations) Validate ¶

func (m Rfc6902PatchOperations) Validate(formats strfmt.Registry) error

Validate validates this rfc6902 patch operations

type Role ¶

type Role struct {

	// resource
	Resource *RoleResource `json:"resource,omitempty" yaml:"resource,omitempty"`

	// role
	// Enum: [admin business_admin auditor manager user_manager member]
	Role string `json:"role,omitempty" yaml:"role,omitempty"`

	// subject
	Subject *RoleSubject `json:"subject,omitempty" yaml:"subject,omitempty"`
}

Role role

swagger:model Role

func (*Role) ContextValidate ¶

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary ¶

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary ¶

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate ¶

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

type RoleDescriptor ¶

type RoleDescriptor struct {

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact people
	ContactPeople []*ContactPerson `json:"ContactPeople" yaml:"ContactPeople"`

	// error URL
	ErrorURL string `json:"ErrorURL,omitempty" yaml:"ErrorURL,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// protocol support enumeration
	ProtocolSupportEnumeration string `json:"ProtocolSupportEnumeration,omitempty" yaml:"ProtocolSupportEnumeration,omitempty"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`
}

RoleDescriptor RoleDescriptor represents the SAML element RoleDescriptor.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.1

swagger:model RoleDescriptor

func (*RoleDescriptor) ContextValidate ¶

func (m *RoleDescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role descriptor based on the context it is used

func (*RoleDescriptor) MarshalBinary ¶

func (m *RoleDescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleDescriptor) UnmarshalBinary ¶

func (m *RoleDescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleDescriptor) Validate ¶

func (m *RoleDescriptor) Validate(formats strfmt.Registry) error

Validate validates this role descriptor

type RoleResource ¶

type RoleResource struct {

	// identity pool id
	IdentityPoolID string `json:"identity_pool_id,omitempty" yaml:"identity_pool_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	// Enum: [tenant workspace identity_pool]
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// workspace id
	WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"`
}

RoleResource role resource

swagger:model RoleResource

func (*RoleResource) ContextValidate ¶

func (m *RoleResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role resource based on context it is used

func (*RoleResource) MarshalBinary ¶

func (m *RoleResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleResource) UnmarshalBinary ¶

func (m *RoleResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleResource) Validate ¶

func (m *RoleResource) Validate(formats strfmt.Registry) error

Validate validates this role resource

type RoleSubject ¶

type RoleSubject struct {

	// identity pool user pool id
	IdentityPoolID string `json:"identity_pool_id,omitempty" yaml:"identity_pool_id,omitempty"`

	// identity pool user id
	IdentityPoolUserID string `json:"identity_pool_user_id,omitempty" yaml:"identity_pool_user_id,omitempty"`

	// idp user idp id
	IdpID string `json:"idp_id,omitempty" yaml:"idp_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	// Enum: [identity_pool_user idp]
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// idp user workspace id
	WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"`
}

RoleSubject role subject

swagger:model RoleSubject

func (*RoleSubject) ContextValidate ¶

func (m *RoleSubject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role subject based on context it is used

func (*RoleSubject) MarshalBinary ¶

func (m *RoleSubject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleSubject) UnmarshalBinary ¶

func (m *RoleSubject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleSubject) Validate ¶

func (m *RoleSubject) Validate(formats strfmt.Registry) error

Validate validates this role subject

type SAMLConfiguration ¶

type SAMLConfiguration struct {

	// Allows to change default subject name id.
	// The default one will be 'uid', even if the value is empty.
	SubjectNameID string `json:"subject_name_id,omitempty" yaml:"subject_name_id,omitempty"`
}

SAMLConfiguration s a m l configuration

swagger:model SAMLConfiguration

func (*SAMLConfiguration) ContextValidate ¶

func (m *SAMLConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a m l configuration based on context it is used

func (*SAMLConfiguration) MarshalBinary ¶

func (m *SAMLConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAMLConfiguration) UnmarshalBinary ¶

func (m *SAMLConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAMLConfiguration) Validate ¶

func (m *SAMLConfiguration) Validate(formats strfmt.Registry) error

Validate validates this s a m l configuration

type SAMLCredentials ¶

type SAMLCredentials struct {

	// The certificate of your IDP
	//
	// The certificate must start with `-----BEGIN CERTIFICATE-----` and end with `-----END CERTIFICATE-----`.
	IdpCertificate string `json:"idp_certificate,omitempty" yaml:"idp_certificate,omitempty"`
}

SAMLCredentials SAML IDP specific credentials

swagger:model SAMLCredentials

func (*SAMLCredentials) ContextValidate ¶

func (m *SAMLCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a m l credentials based on context it is used

func (*SAMLCredentials) MarshalBinary ¶

func (m *SAMLCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAMLCredentials) UnmarshalBinary ¶

func (m *SAMLCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAMLCredentials) Validate ¶

func (m *SAMLCredentials) Validate(formats strfmt.Registry) error

Validate validates this s a m l credentials

type SAMLSettings ¶

type SAMLSettings struct {

	// Unique id of a service provider
	// Example: https://localhost:8443/default/default/login
	EntityIssuer string `json:"entity_issuer,omitempty" yaml:"entity_issuer,omitempty"`

	// The attribute name from the `AttributeStatement` SAML response which is used as an identifier in ACP
	//
	// Applies only when `identifierSource` parameter is set to `attribute`.
	IdentifierAttribute string `json:"identifier_attribute,omitempty" yaml:"identifier_attribute,omitempty"`

	// The source for an identifier
	//
	// The `identifierSource` parameter can have either the `subject` or the `attribute` value.
	//
	// It is used to provide an unique user attribute that is used as an identifier in ACP.
	//
	// Depending on which identifier source you choose, you must define either the
	// `identifierAttribute` or the `subjectNameIDFormat` parameter.
	IdentifierSource string `json:"identifier_source,omitempty" yaml:"identifier_source,omitempty"`

	// IDP metadata URL
	MetadataURL string `json:"metadata_url,omitempty" yaml:"metadata_url,omitempty"`

	// IDP metadata xml
	MetadataXML string `json:"metadata_xml,omitempty" yaml:"metadata_xml,omitempty"`

	// If enabled, the verification, if the `InResponseTo` parameter matches the original ID attribute
	// sent from ACP, is skipped.
	//
	// Enable the `skipInResponseToVerification` flag when the `InResponseTo` parameter is not
	// returned by your IDP.
	SkipInResponseToVerification bool `json:"skip_in_response_to_verification,omitempty" yaml:"skip_in_response_to_verification,omitempty"`

	// String represented SSO URL (endpoint) where the SAML request is sent
	// Example: https://test-dev-ed.my.salesforce.com/idp/endpoint/HttpPost
	SsoURL string `json:"sso_url,omitempty" yaml:"sso_url,omitempty"`

	// Name ID format of a SAML subject
	//
	// It applies only when the `identifierSource` parameter is set to `subject`.
	//
	// Allowed values:
	//
	// `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress`
	//
	// `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`
	//
	// `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName`
	//
	// `urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName`
	//
	// `urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted`
	//
	// `urn:oasis:names:tc:SAML:2.0:nameid-format:entity`
	//
	// `urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos`
	//
	// `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`
	//
	// `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`
	//
	// default value:
	// `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`
	SubjectNameIDFormat string `json:"subject_name_id_format,omitempty" yaml:"subject_name_id_format,omitempty"`
}

SAMLSettings SAML IDP specific settings

swagger:model SAMLSettings

func (*SAMLSettings) ContextValidate ¶

func (m *SAMLSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a m l settings based on context it is used

func (*SAMLSettings) MarshalBinary ¶

func (m *SAMLSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SAMLSettings) UnmarshalBinary ¶

func (m *SAMLSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SAMLSettings) Validate ¶

func (m *SAMLSettings) Validate(formats strfmt.Registry) error

Validate validates this s a m l settings

type SMSAuth ¶

type SMSAuth struct {

	// The Twilio Auth Token.
	// Required: true
	AuthToken string `json:"auth_token" yaml:"auth_token"`

	// The Twilio Account SID.
	// Required: true
	Sid string `json:"sid" yaml:"sid"`
}

SMSAuth s m s auth

swagger:model SMSAuth

func (*SMSAuth) ContextValidate ¶

func (m *SMSAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s m s auth based on context it is used

func (*SMSAuth) MarshalBinary ¶

func (m *SMSAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SMSAuth) UnmarshalBinary ¶

func (m *SMSAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SMSAuth) Validate ¶

func (m *SMSAuth) Validate(formats strfmt.Registry) error

Validate validates this s m s auth

type SMSSettings ¶

type SMSSettings struct {

	// Custom message template.
	//
	// If not set, the default is used.
	CustomMessageTemplate string `json:"custom_message_template,omitempty" yaml:"custom_message_template,omitempty"`

	// Custom SMS From phone number.
	//
	// If not set, the default is used.
	CustomSource string `json:"custom_source,omitempty" yaml:"custom_source,omitempty"`

	// otp
	Otp *OTPConfiguration `json:"otp,omitempty" yaml:"otp,omitempty"`

	// SMS provider.
	// Example: embedded
	// Enum: [twilio embedded]
	Provider string `json:"provider,omitempty" yaml:"provider,omitempty"`
}

SMSSettings s m s settings

swagger:model SMSSettings

func (*SMSSettings) ContextValidate ¶

func (m *SMSSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s m s settings based on the context it is used

func (*SMSSettings) MarshalBinary ¶

func (m *SMSSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SMSSettings) UnmarshalBinary ¶

func (m *SMSSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SMSSettings) Validate ¶

func (m *SMSSettings) Validate(formats strfmt.Registry) error

Validate validates this s m s settings

type SPSSODescriptor ¶

type SPSSODescriptor struct {

	// artifact resolution services
	ArtifactResolutionServices []*IndexedEndpoint `json:"ArtifactResolutionServices" yaml:"ArtifactResolutionServices"`

	// assertion consumer services
	AssertionConsumerServices []*IndexedEndpoint `json:"AssertionConsumerServices" yaml:"AssertionConsumerServices"`

	// attribute consuming services
	AttributeConsumingServices []*AttributeConsumingService `json:"AttributeConsumingServices" yaml:"AttributeConsumingServices"`

	// authn requests signed
	AuthnRequestsSigned bool `json:"AuthnRequestsSigned,omitempty" yaml:"AuthnRequestsSigned,omitempty"`

	// cache duration
	CacheDuration Duration `json:"CacheDuration,omitempty" yaml:"CacheDuration,omitempty"`

	// contact people
	ContactPeople []*ContactPerson `json:"ContactPeople" yaml:"ContactPeople"`

	// error URL
	ErrorURL string `json:"ErrorURL,omitempty" yaml:"ErrorURL,omitempty"`

	// ID
	ID string `json:"ID,omitempty" yaml:"ID,omitempty"`

	// key descriptors
	KeyDescriptors []*KeyDescriptor `json:"KeyDescriptors" yaml:"KeyDescriptors"`

	// manage name ID services
	ManageNameIDServices []*Endpoint `json:"ManageNameIDServices" yaml:"ManageNameIDServices"`

	// name ID formats
	NameIDFormats []NameIDFormat `json:"NameIDFormats" yaml:"NameIDFormats"`

	// organization
	Organization *Organization `json:"Organization,omitempty" yaml:"Organization,omitempty"`

	// protocol support enumeration
	ProtocolSupportEnumeration string `json:"ProtocolSupportEnumeration,omitempty" yaml:"ProtocolSupportEnumeration,omitempty"`

	// signature
	Signature *Element `json:"Signature,omitempty" yaml:"Signature,omitempty"`

	// single logout services
	SingleLogoutServices []*Endpoint `json:"SingleLogoutServices" yaml:"SingleLogoutServices"`

	// valid until
	// Format: date-time
	ValidUntil strfmt.DateTime `json:"ValidUntil,omitempty" yaml:"ValidUntil,omitempty"`

	// want assertions signed
	WantAssertionsSigned bool `json:"WantAssertionsSigned,omitempty" yaml:"WantAssertionsSigned,omitempty"`

	// XML name
	XMLName *Name `json:"XMLName,omitempty" yaml:"XMLName,omitempty"`
}

SPSSODescriptor SPSSODescriptor represents the SAML SPSSODescriptorType object.

See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.2

swagger:model SPSSODescriptor

func (*SPSSODescriptor) ContextValidate ¶

func (m *SPSSODescriptor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s p s s o descriptor based on the context it is used

func (*SPSSODescriptor) MarshalBinary ¶

func (m *SPSSODescriptor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SPSSODescriptor) UnmarshalBinary ¶

func (m *SPSSODescriptor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SPSSODescriptor) Validate ¶

func (m *SPSSODescriptor) Validate(formats strfmt.Registry) error

Validate validates this s p s s o descriptor

type SSOConfiguration ¶

type SSOConfiguration struct {

	// Domain for the SSO cookie
	Domain string `json:"domain,omitempty" yaml:"domain,omitempty"`

	// If enabled, single-sign-on (SSO) is active for all IDPs in this workspace.
	// Example: false
	Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`

	// Additional domains permitted in the logout redirect_to parameter
	LogoutRedirectDomains []string `json:"logout_redirect_domains" yaml:"logout_redirect_domains"`

	// Active TTL - Active SSO sessions expire after MaxAge nanoseconds.
	// Format: duration
	MaxAge strfmt.Duration `json:"max_age,omitempty" yaml:"max_age,omitempty"`

	// Idle TTL - Idle SSO sessions expire after MaxIdle nanoseconds.
	// Format: duration
	MaxIdle strfmt.Duration `json:"max_idle,omitempty" yaml:"max_idle,omitempty"`

	// Admin-configured target URL after logout, if redirect_to omitted or invalid
	PostLogoutURL string `json:"post_logout_url,omitempty" yaml:"post_logout_url,omitempty"`
}

SSOConfiguration s s o configuration

swagger:model SSOConfiguration

func (*SSOConfiguration) ContextValidate ¶

func (m *SSOConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s s o configuration based on context it is used

func (*SSOConfiguration) MarshalBinary ¶

func (m *SSOConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SSOConfiguration) UnmarshalBinary ¶

func (m *SSOConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SSOConfiguration) Validate ¶

func (m *SSOConfiguration) Validate(formats strfmt.Registry) error

Validate validates this s s o configuration

type Scope ¶

type Scope struct {

	// Authorization server identifier
	// Example: my-server
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// The scope description displayed as a hint on a consent page
	// Example: This scope value requests offline access using refresh token
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// The scope name displayed on a consent page
	// Example: Offline Access
	DisplayName string `json:"display_name,omitempty" yaml:"display_name,omitempty"`

	// Scope identifier
	// Example: scope-1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// Request this scope by default for all clients who subscribed to this scope
	Implicit bool `json:"implicit,omitempty" yaml:"implicit,omitempty"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// Scope name
	// Example: offline_access
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// Tenant identifier
	// Example: my-company
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// Disable storage of scope grants
	Transient bool `json:"transient,omitempty" yaml:"transient,omitempty"`
}

Scope scope

swagger:model Scope

func (*Scope) ContextValidate ¶

func (m *Scope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scope based on the context it is used

func (*Scope) MarshalBinary ¶

func (m *Scope) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Scope) UnmarshalBinary ¶

func (m *Scope) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Scope) Validate ¶

func (m *Scope) Validate(formats strfmt.Registry) error

Validate validates this scope

type ScopeGrant ¶

type ScopeGrant struct {

	// Identifier of a client application that is granted with the scope.
	// Example: bugkgm23g9kregtu051g
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// Time when the scope was granted
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// The scope name with its actual value
	// Example: accounts.read.own
	GrantedScopeName string `json:"granted_scope_name,omitempty" yaml:"granted_scope_name,omitempty"`

	// Language
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// The scope name as it's set initially. This parameter supports dynamic scope syntax, thus can include a scope
	// root—a fixed core of the dynamic scope name supplemented with a wildcard—a symbol representing
	// an adjustable extension to the scope root allowing to retrieve a specific requested scope.
	//
	// The basic dynamic scope template is as follows: `[scope-root.*]` where `*` is a wildcard.
	// Example: accounts.read.*
	ScopeName string `json:"scope_name,omitempty" yaml:"scope_name,omitempty"`

	// Identifier of a server where the client app is hosted.
	// Example: my-server
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// Identifier of a user who granted the scope.
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

	// Identifier of the tenant where the client app is hosted.
	// Example: my-company
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

ScopeGrant scope grant

swagger:model ScopeGrant

func (*ScopeGrant) ContextValidate ¶

func (m *ScopeGrant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scope grant based on context it is used

func (*ScopeGrant) MarshalBinary ¶

func (m *ScopeGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScopeGrant) UnmarshalBinary ¶

func (m *ScopeGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScopeGrant) Validate ¶

func (m *ScopeGrant) Validate(formats strfmt.Registry) error

Validate validates this scope grant

type ScopePrivacyInformation ¶

type ScopePrivacyInformation struct {

	// pii categories
	PiiCategories []*PIICategory `json:"pii_categories" yaml:"pii_categories"`

	// purpose
	Purpose string `json:"purpose,omitempty" yaml:"purpose,omitempty"`
}

ScopePrivacyInformation scope privacy information

swagger:model ScopePrivacyInformation

func (*ScopePrivacyInformation) ContextValidate ¶

func (m *ScopePrivacyInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this scope privacy information based on the context it is used

func (*ScopePrivacyInformation) MarshalBinary ¶

func (m *ScopePrivacyInformation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScopePrivacyInformation) UnmarshalBinary ¶

func (m *ScopePrivacyInformation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScopePrivacyInformation) Validate ¶

func (m *ScopePrivacyInformation) Validate(formats strfmt.Registry) error

Validate validates this scope privacy information

type Script ¶

type Script struct {

	// ID of the authorization server (workspace) where the script is created
	// Required: true
	AuthorizationServerID string `json:"authorization_server_id" yaml:"authorization_server_id"`

	// Script body
	Body string `json:"body,omitempty" yaml:"body,omitempty"`

	// Unique ID of your script
	//
	// If not provided, a random ID is generated.
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// Display name of your script
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// ID of the tenant where the script is created
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// Input data for testing this script
	TestInput string `json:"test_input,omitempty" yaml:"test_input,omitempty"`
}

Script script

swagger:model Script

func (*Script) ContextValidate ¶

func (m *Script) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this script based on context it is used

func (*Script) MarshalBinary ¶

func (m *Script) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Script) UnmarshalBinary ¶

func (m *Script) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Script) Validate ¶

func (m *Script) Validate(formats strfmt.Registry) error

Validate validates this script

type ScriptExecutionPoint ¶

type ScriptExecutionPoint struct {

	// Optional script ID
	// Example: 1
	ScriptID string `json:"script_id,omitempty" yaml:"script_id,omitempty"`

	// The ID of your authorization server (workspace)
	// Example: default
	// Required: true
	ServerID string `json:"server_id" yaml:"server_id"`

	// String representation of the target's ID
	// Example: 1
	// Required: true
	TargetFk string `json:"target_fk" yaml:"target_fk"`

	// The ID of your tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// String representation of the script execution point type
	// Example: post_authn_ctx
	// Required: true
	// Enum: [post_authn_ctx allowed_idp_ids token_minting client_token_minting]
	Type string `json:"type" yaml:"type"`
}

ScriptExecutionPoint script execution point

swagger:model ScriptExecutionPoint

func (*ScriptExecutionPoint) ContextValidate ¶

func (m *ScriptExecutionPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this script execution point based on context it is used

func (*ScriptExecutionPoint) MarshalBinary ¶

func (m *ScriptExecutionPoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScriptExecutionPoint) UnmarshalBinary ¶

func (m *ScriptExecutionPoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptExecutionPoint) Validate ¶

func (m *ScriptExecutionPoint) Validate(formats strfmt.Registry) error

Validate validates this script execution point

type Secret ¶

type Secret struct {

	// Time when the secret was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// Unique ID of your secret
	// Example: secret-pet
	// Required: true
	ID string `json:"id" yaml:"id"`

	// Value of a secret
	// Example: cat
	// Required: true
	Secret string `json:"secret" yaml:"secret"`

	// ID of your authorization server (workspace)
	// Example: default
	// Required: true
	ServerID string `json:"server_id" yaml:"server_id"`

	// ID of your tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// value
	Value string `json:"value,omitempty" yaml:"value,omitempty"`
}

Secret secret

swagger:model Secret

func (*Secret) ContextValidate ¶

func (m *Secret) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret based on context it is used

func (*Secret) MarshalBinary ¶

func (m *Secret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Secret) UnmarshalBinary ¶

func (m *Secret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Secret) Validate ¶

func (m *Secret) Validate(formats strfmt.Registry) error

Validate validates this secret

type Server ¶

type Server struct {

	// Access token strategy
	//
	// You can choose to go either with `JWT` or `opaque` tokens.
	//
	// The content of JSON Web Tokens is readable and it is possible to be decoded by anyone that
	// has a secret or a public key in their possession.
	//
	// Opaque tokens are in a proprietary form that contains an identifier to information stored on
	// the athorization server. To validate an opaque token, the recipient must call the server that
	// issued the token.
	// Example: jwt
	// Enum: [jwt opaque]
	AccessTokenStrategy string `json:"access_token_strategy,omitempty" yaml:"access_token_strategy,omitempty"`

	// Access token time to live
	//
	// After an access token reaches its time to live, it expires and it cannot be used to
	// authenticate the client application.
	// Example: 1h10m30s
	// Format: duration
	AccessTokenTTL strfmt.Duration `json:"access_token_ttl,omitempty" yaml:"access_token_ttl,omitempty"`

	// advanced
	Advanced *AdvancedConfiguration `json:"advanced,omitempty" yaml:"advanced,omitempty"`

	// authentication context settings
	AuthenticationContextSettings *AuthenticationContextSettings `json:"authentication_context_settings,omitempty" yaml:"authentication_context_settings,omitempty"`

	// Authorization code time to live
	//
	// After an authorization code reaches its time to live, it expires and it cannot be used to
	// authorize the request to the `/token` endpoint.
	// Example: 10m0s
	// Format: duration
	AuthorizationCodeTTL strfmt.Duration `json:"authorization_code_ttl,omitempty" yaml:"authorization_code_ttl,omitempty"`

	// backchannel token delivery modes supported
	BackchannelTokenDeliveryModesSupported []string `json:"backchannel_token_delivery_modes_supported" yaml:"backchannel_token_delivery_modes_supported"`

	// backchannel user code parameter supported
	BackchannelUserCodeParameterSupported bool `json:"backchannel_user_code_parameter_supported,omitempty" yaml:"backchannel_user_code_parameter_supported,omitempty"`

	// cdr
	Cdr *CDRConfiguration `json:"cdr,omitempty" yaml:"cdr,omitempty"`

	// Your server's label color in a HEX format.
	// Example: #007FFF
	Color string `json:"color,omitempty" yaml:"color,omitempty"`

	// Namespace used when creating Open Banking Brasil consent IDs
	//
	// Consent IDs will have the form of urn:<consent_id_namespace>:<uid> when this is set.
	// If this is empty, the tenant id is used by default
	ConsentIDNamespace string `json:"consent_id_namespace,omitempty" yaml:"consent_id_namespace,omitempty"`

	// Cookie max age
	//
	// Defines how long a cookie can live until it expires.
	// Example: 1h10m30s
	// Format: duration
	CookieMaxAge strfmt.Duration `json:"cookie_max_age,omitempty" yaml:"cookie_max_age,omitempty"`

	// Defines a custom issuer URL that can be used as the value of the `iss` claim in an access
	// token.
	//
	// If not provided, it is built dynamically based on the server's URL.
	// Example: http://example.com/default/default
	CustomIssuerURL string `json:"custom_issuer_url,omitempty" yaml:"custom_issuer_url,omitempty"`

	// Display description of the workspace
	// Example: Server description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// device authorization
	DeviceAuthorization *DeviceAuthorizationConfiguration `json:"device_authorization,omitempty" yaml:"device_authorization,omitempty"`

	// dynamic client registration
	DynamicClientRegistration *DynamicClientRegistrationSettings `json:"dynamic_client_registration,omitempty" yaml:"dynamic_client_registration,omitempty"`

	// You can use this property to define a separator that is used for dynamic scopes.
	//
	// For example, the default separator is `.`, so the scope could look like the following:
	// `users.*`.
	//
	// For Open Banking Brazil compliant servers, the `:` separator should be used.
	DynamicScopeSeparator string `json:"dynamic_scope_separator,omitempty" yaml:"dynamic_scope_separator,omitempty"`

	// Deprecated: Use IDPDiscovery instead
	//
	// If enabled, IDP discovery automatically redirects the user to their own IDP and does not
	// display IDPs of other users while the users accesses the server/application.
	// Example: false
	EnableIdpDiscovery bool `json:"enable_idp_discovery,omitempty" yaml:"enable_idp_discovery,omitempty"`

	// Deprecated
	//
	// If enabled, it is possible to manually register clients withouth the use of software
	// statements.
	//
	// This flag is enabled, when the `enable_trust_anchor` flag is set to `false`. You can disable
	// it using API, but it cannot be manually enabled.
	EnableLegacyClientsWithNoSoftwareStatement bool `` /* 131-byte string literal not displayed */

	// If enabled, the server is visible on the Quick Access tab on the login page.
	EnableQuickAccess bool `json:"enable_quick_access,omitempty" yaml:"enable_quick_access,omitempty"`

	// If enabled, it makes it obligatory to provide a software statement signed by a trusted certificate authority
	//
	// when registering a client application with the use of the Dynamic Client Registration (DCR).
	//
	// In public key infrastructure (PKI), trust anchors are certification authorities. They are
	// represented by a certificate that is used to verify the signature of a certificate issued by
	// a particular trust anchor.
	EnableTrustAnchor bool `json:"enable_trust_anchor,omitempty" yaml:"enable_trust_anchor,omitempty"`

	// When enabled, the authorization server will enforce encrypted id tokens it issues
	EnforceIDTokenEncryption bool `json:"enforce_id_token_encryption,omitempty" yaml:"enforce_id_token_encryption,omitempty"`

	// Define whether you want to enforce using the Proof Key of Code Exchange (PKCE) for both
	// private and public clients.
	//
	// PKCE is an OAuth security extension that prevents malicious applications or codes that
	// intercepted authorization code from exchanging it for an access token.
	// Example: false
	EnforcePkce bool `json:"enforce_pkce,omitempty" yaml:"enforce_pkce,omitempty"`

	// Define whether you want to enforce using the Proof Key of Code Exchange (PKCE) for
	// public clients.
	//
	// Public clients, like mobile applications or JavaScript-based applications, by their design,
	// cannot store client secrets securely. For such clients, even encrypting the client secret
	// inside the application’s code is not a reliable way of protecting secrets as the application
	// can be decompiled and the client secret can be extracted while it is decrypted in the memory
	// of the application.
	//
	// For those reasons, ACP supports the use of PKCE as an addition to the authorization code
	// grant flow to provide a secure alternative to the implicit grant flow.
	// Example: false
	EnforcePkceForPublicClients bool `json:"enforce_pkce_for_public_clients,omitempty" yaml:"enforce_pkce_for_public_clients,omitempty"`

	// fdx
	Fdx *FDXConfiguration `json:"fdx,omitempty" yaml:"fdx,omitempty"`

	// An array that defines which of the OAuth 2.0 grant types are enabled for the authorization server.
	// Example: ["authorization_code","implicit","refresh_token","client_credentials"]
	GrantTypes []string `json:"grant_types" yaml:"grant_types"`

	// Unique identifier of an authorization server (workspace)
	//
	// If not provided, a random ID is generated.
	// Example: default
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// ID token time to live
	//
	// After an ID token reaches its time to live, it expires and it cannot be used to provide
	// user profile information to a client application.
	// Example: 1h10m30s
	// Format: duration
	IDTokenTTL strfmt.Duration `json:"id_token_ttl,omitempty" yaml:"id_token_ttl,omitempty"`

	// identity assurance
	IdentityAssurance *IdentityAssuranceConfiguration `json:"identity_assurance,omitempty" yaml:"identity_assurance,omitempty"`

	// idp discovery
	IdpDiscovery *IDPDiscovery `json:"idp_discovery,omitempty" yaml:"idp_discovery,omitempty"`

	// Issuer ID that will be used to set `iss` claim on signed messages
	//
	// If issuer_id is not set then default issuer_url will be used
	// Example: 5647fe90-f6bc-11eb-9a03-0242ac130003
	IssuerID string `json:"issuer_id,omitempty" yaml:"issuer_id,omitempty"`

	// jwks
	Jwks *ServerJWKs `json:"jwks,omitempty" yaml:"jwks,omitempty"`

	// Determines which type of asymmetric algorithms (RSA or ECDSA) is used to generate keys for signing access and
	// ID tokens.
	//
	// It is used only as an input parameter for the Create Authorization Server API.
	// Example: rsa
	// Enum: [rsa ecdsa ps]
	KeyType string `json:"key_type,omitempty" yaml:"key_type,omitempty"`

	// legal entity
	LegalEntity *LegalEntity `json:"legal_entity,omitempty" yaml:"legal_entity,omitempty"`

	// Logo URI
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// metadata
	Metadata *ServerMetadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// Display name of the workspace
	//
	// If not provided, a random ID is generated.
	// Example: default
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// obbr
	Obbr *OBBRConfiguration `json:"obbr,omitempty" yaml:"obbr,omitempty"`

	// organization
	Organization *OrganizationConfiguration `json:"organization,omitempty" yaml:"organization,omitempty"`

	// Optional ID of a parent server
	ParentID string `json:"parent_id,omitempty" yaml:"parent_id,omitempty"`

	// The profile of a server
	//
	// ACP is delivered with preconfigured workspace templates that enable quick and easy setup for
	// specific configuration patterns. For example, you can instantly create an Open Banking
	// compliant workspace that has all of the required mechanisms and settings already in place.
	// Example: default
	// Enum: [default demo workforce consumer partners third_party fapi_advanced fapi_rw fapi_ro openbanking_uk_fapi_advanced openbanking_uk openbanking_br cdr_australia cdr_australia_fapi_rw fdx openbanking_ksa fapi_20_security fapi_20_message_signing connect_id]
	Profile string `json:"profile,omitempty" yaml:"profile,omitempty"`

	// Custom pushed authentication request TTL
	// If not provided, TTL is set to 60 seconds.
	// Format: duration
	PushedAuthorizationRequestTTL strfmt.Duration `json:"pushed_authorization_request_ttl,omitempty" yaml:"pushed_authorization_request_ttl,omitempty"`

	// Refresh token time to live
	//
	// After a refresh token reaches its time to live, it expires and it cannot be used to obtain
	// new access tokens for a client application.
	// Example: 720h0m0s
	// Format: duration
	RefreshTokenTTL strfmt.Duration `json:"refresh_token_ttl,omitempty" yaml:"refresh_token_ttl,omitempty"`

	// Boolean parameter indicating whether the authorization server accepts authorization request data only via PAR.
	RequirePushedAuthorizationRequests bool `json:"require_pushed_authorization_requests,omitempty" yaml:"require_pushed_authorization_requests,omitempty"`

	// response types
	ResponseTypes ResponseTypes `json:"response_types,omitempty" yaml:"response_types,omitempty"`

	// You can provide root Certificate Authority (CA) certificates encoded to the Privacy-Enhanced
	// Mail (PEM) file format which are used for the `tls_client_auth` and the
	// `self_signed_tls_client_auth` client authentication methods that use the Mutual
	// Transport Layer Security (mTLS).
	//
	// If not set, the system root CA certifiates are used instead.
	RootCas string `json:"root_cas,omitempty" yaml:"root_cas,omitempty"`

	// An array of rotated secrets that are still used to validate tokens
	// Example: ["jFpwIvuKJP46J71WqszPv1SrzoUr-cSILP9EPdlClB4"]
	RotatedSecrets []string `json:"rotated_secrets" yaml:"rotated_secrets"`

	// saml
	Saml *SAMLConfiguration `json:"saml,omitempty" yaml:"saml,omitempty"`

	// Secret used for hashing
	//
	// It must have at least 32 characters. If not provided, it is generated.
	// Example: hW5WhKX_7w7BLwUQ6mn7Cp70_OoKI_F1y1hLS5U8lIU
	Secret string `json:"secret,omitempty" yaml:"secret,omitempty"`

	// sso
	Sso *SSOConfiguration `json:"sso,omitempty" yaml:"sso,omitempty"`

	// styling
	Styling *Styling `json:"styling,omitempty" yaml:"styling,omitempty"`

	// Define the format of a subject
	// When set to hash sub value is a one way hash of idp id and idp sub
	// Enum: [hash legacy]
	SubjectFormat string `json:"subject_format,omitempty" yaml:"subject_format,omitempty"`

	// Salt used to hash `subject` when the `pairwise` subject type is used.
	//
	// Salt is a random data which is used as an additional input to one-way functions that hashes
	// data, passwords, and, in this case, subjects.
	//
	// It is recommended that your salt value is long for security reasons. Preferably, the salt
	// value should be at least the same length as the output of the hash.
	//
	// If not provided, it is generated.
	SubjectIdentifierAlgorithmSalt string `json:"subject_identifier_algorithm_salt,omitempty" yaml:"subject_identifier_algorithm_salt,omitempty"`

	// An array that defines supported subject identifier types.
	//
	// Subject identifiers identify an end-user. They are locally unique and never reassigned within the Issuer,
	// and are intended to be consumed by client applications. There are two types
	// of subject identifiers: `public` and `pairwise`.
	//
	// `public` identifiers provide the same `sub` claim value to all client applications.
	// `pairwise` identifiers provide different `sub` claim values to each client application. With
	// this approach, it makes it impossible for client applications to correlate the end-user's
	// activity without their permission.
	// Example: ["public","pairwise"]
	SubjectIdentifierTypes []string `json:"subject_identifier_types" yaml:"subject_identifier_types"`

	// If true this workspace can be used as a template when creating a new ones.
	Template bool `json:"template,omitempty" yaml:"template,omitempty"`

	// ID of a tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// An array that lists all of the supported token endpoint authentication methods for the
	// authorization server.
	TokenEndpointAuthMethods []string `json:"token_endpoint_auth_methods" yaml:"token_endpoint_auth_methods"`

	// Token endpoint auth signing supported alg values
	//
	// Supported algorithms: HS256, RS256, ES256, PS256
	//
	// At least one algorithm must be set.
	//
	// The default values depends on the server security profile.
	TokenEndpointAuthSigningAlgValues []string `json:"token_endpoint_auth_signing_alg_values" yaml:"token_endpoint_auth_signing_alg_values"`

	// Deprecated: Use TokenEndpointAuthMethods instead
	TokenEndpointAuthnMethods []string `json:"token_endpoint_authn_methods" yaml:"token_endpoint_authn_methods"`

	// trust anchor configuration
	TrustAnchorConfiguration *TrustAnchorConfiguration `json:"trust_anchor_configuration,omitempty" yaml:"trust_anchor_configuration,omitempty"`

	// Server type
	//
	// It is an internal property used to recognize if the server is created for an admin portal,
	// a developer portal, or if it is a system or a regular workspace.
	// Example: regular
	// Enum: [admin developer system regular organization]
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// server version to track internal changes
	// version that is currently the latest: 3
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

Server Multi Tenant authorization server

swagger:model Server

func (*Server) ContextValidate ¶

func (m *Server) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server based on the context it is used

func (*Server) MarshalBinary ¶

func (m *Server) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Server) UnmarshalBinary ¶

func (m *Server) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Server) Validate ¶

func (m *Server) Validate(formats strfmt.Registry) error

Validate validates this server

type ServerConsent ¶

type ServerConsent struct {

	// client id
	ClientID string `json:"client_id,omitempty" yaml:"client_id,omitempty"`

	// custom
	Custom *CustomServerConsent `json:"custom,omitempty" yaml:"custom,omitempty"`

	// oidc
	Oidc OIDCServerConsent `json:"oidc,omitempty" yaml:"oidc,omitempty"`

	// openbanking
	Openbanking *OpenbankingServerConsent `json:"openbanking,omitempty" yaml:"openbanking,omitempty"`

	// server id
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	Type string `json:"type,omitempty" yaml:"type,omitempty"`
}

ServerConsent server consent

swagger:model ServerConsent

func (*ServerConsent) ContextValidate ¶

func (m *ServerConsent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server consent based on the context it is used

func (*ServerConsent) MarshalBinary ¶

func (m *ServerConsent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerConsent) UnmarshalBinary ¶

func (m *ServerConsent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerConsent) Validate ¶

func (m *ServerConsent) Validate(formats strfmt.Registry) error

Validate validates this server consent

type ServerDump ¶

type ServerDump struct {

	// Access token strategy
	//
	// You can choose to go either with `JWT` or `opaque` tokens.
	//
	// The content of JSON Web Tokens is readable and it is possible to be decoded by anyone that
	// has a secret or a public key in their possession.
	//
	// Opaque tokens are in a proprietary form that contains an identifier to information stored on
	// the athorization server. To validate an opaque token, the recipient must call the server that
	// issued the token.
	// Example: jwt
	// Enum: [jwt opaque]
	AccessTokenStrategy string `json:"access_token_strategy,omitempty" yaml:"access_token_strategy,omitempty"`

	// Access token time to live
	//
	// After an access token reaches its time to live, it expires and it cannot be used to
	// authenticate the client application.
	// Example: 1h10m30s
	// Format: duration
	AccessTokenTTL strfmt.Duration `json:"access_token_ttl,omitempty" yaml:"access_token_ttl,omitempty"`

	// advanced
	Advanced *AdvancedConfiguration `json:"advanced,omitempty" yaml:"advanced,omitempty"`

	// authentication context settings
	AuthenticationContextSettings *AuthenticationContextSettings `json:"authentication_context_settings,omitempty" yaml:"authentication_context_settings,omitempty"`

	// Authorization code time to live
	//
	// After an authorization code reaches its time to live, it expires and it cannot be used to
	// authorize the request to the `/token` endpoint.
	// Example: 10m0s
	// Format: duration
	AuthorizationCodeTTL strfmt.Duration `json:"authorization_code_ttl,omitempty" yaml:"authorization_code_ttl,omitempty"`

	// backchannel token delivery modes supported
	BackchannelTokenDeliveryModesSupported []string `json:"backchannel_token_delivery_modes_supported" yaml:"backchannel_token_delivery_modes_supported"`

	// backchannel user code parameter supported
	BackchannelUserCodeParameterSupported bool `json:"backchannel_user_code_parameter_supported,omitempty" yaml:"backchannel_user_code_parameter_supported,omitempty"`

	// cdr
	Cdr *CDRConfiguration `json:"cdr,omitempty" yaml:"cdr,omitempty"`

	// Your server's label color in a HEX format.
	// Example: #007FFF
	Color string `json:"color,omitempty" yaml:"color,omitempty"`

	// Namespace used when creating Open Banking Brasil consent IDs
	//
	// Consent IDs will have the form of urn:<consent_id_namespace>:<uid> when this is set.
	// If this is empty, the tenant id is used by default
	ConsentIDNamespace string `json:"consent_id_namespace,omitempty" yaml:"consent_id_namespace,omitempty"`

	// Cookie max age
	//
	// Defines how long a cookie can live until it expires.
	// Example: 1h10m30s
	// Format: duration
	CookieMaxAge strfmt.Duration `json:"cookie_max_age,omitempty" yaml:"cookie_max_age,omitempty"`

	// Defines a custom issuer URL that can be used as the value of the `iss` claim in an access
	// token.
	//
	// If not provided, it is built dynamically based on the server's URL.
	// Example: http://example.com/default/default
	CustomIssuerURL string `json:"custom_issuer_url,omitempty" yaml:"custom_issuer_url,omitempty"`

	// Display description of the workspace
	// Example: Server description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// device authorization
	DeviceAuthorization *DeviceAuthorizationConfiguration `json:"device_authorization,omitempty" yaml:"device_authorization,omitempty"`

	// flag to skip default claims creation (applicable only if server does not exist)
	DoNotCreateDefaultClaims bool `json:"do_not_create_default_claims,omitempty" yaml:"do_not_create_default_claims,omitempty"`

	// dynamic client registration
	DynamicClientRegistration *DynamicClientRegistrationSettings `json:"dynamic_client_registration,omitempty" yaml:"dynamic_client_registration,omitempty"`

	// You can use this property to define a separator that is used for dynamic scopes.
	//
	// For example, the default separator is `.`, so the scope could look like the following:
	// `users.*`.
	//
	// For Open Banking Brazil compliant servers, the `:` separator should be used.
	DynamicScopeSeparator string `json:"dynamic_scope_separator,omitempty" yaml:"dynamic_scope_separator,omitempty"`

	// Deprecated: Use IDPDiscovery instead
	//
	// If enabled, IDP discovery automatically redirects the user to their own IDP and does not
	// display IDPs of other users while the users accesses the server/application.
	// Example: false
	EnableIdpDiscovery bool `json:"enable_idp_discovery,omitempty" yaml:"enable_idp_discovery,omitempty"`

	// Deprecated
	//
	// If enabled, it is possible to manually register clients withouth the use of software
	// statements.
	//
	// This flag is enabled, when the `enable_trust_anchor` flag is set to `false`. You can disable
	// it using API, but it cannot be manually enabled.
	EnableLegacyClientsWithNoSoftwareStatement bool `` /* 131-byte string literal not displayed */

	// If enabled, the server is visible on the Quick Access tab on the login page.
	EnableQuickAccess bool `json:"enable_quick_access,omitempty" yaml:"enable_quick_access,omitempty"`

	// If enabled, it makes it obligatory to provide a software statement signed by a trusted certificate authority
	//
	// when registering a client application with the use of the Dynamic Client Registration (DCR).
	//
	// In public key infrastructure (PKI), trust anchors are certification authorities. They are
	// represented by a certificate that is used to verify the signature of a certificate issued by
	// a particular trust anchor.
	EnableTrustAnchor bool `json:"enable_trust_anchor,omitempty" yaml:"enable_trust_anchor,omitempty"`

	// When enabled, the authorization server will enforce encrypted id tokens it issues
	EnforceIDTokenEncryption bool `json:"enforce_id_token_encryption,omitempty" yaml:"enforce_id_token_encryption,omitempty"`

	// Define whether you want to enforce using the Proof Key of Code Exchange (PKCE) for both
	// private and public clients.
	//
	// PKCE is an OAuth security extension that prevents malicious applications or codes that
	// intercepted authorization code from exchanging it for an access token.
	// Example: false
	EnforcePkce bool `json:"enforce_pkce,omitempty" yaml:"enforce_pkce,omitempty"`

	// Define whether you want to enforce using the Proof Key of Code Exchange (PKCE) for
	// public clients.
	//
	// Public clients, like mobile applications or JavaScript-based applications, by their design,
	// cannot store client secrets securely. For such clients, even encrypting the client secret
	// inside the application’s code is not a reliable way of protecting secrets as the application
	// can be decompiled and the client secret can be extracted while it is decrypted in the memory
	// of the application.
	//
	// For those reasons, ACP supports the use of PKCE as an addition to the authorization code
	// grant flow to provide a secure alternative to the implicit grant flow.
	// Example: false
	EnforcePkceForPublicClients bool `json:"enforce_pkce_for_public_clients,omitempty" yaml:"enforce_pkce_for_public_clients,omitempty"`

	// fdx
	Fdx *FDXConfiguration `json:"fdx,omitempty" yaml:"fdx,omitempty"`

	// An array that defines which of the OAuth 2.0 grant types are enabled for the authorization server.
	// Example: ["authorization_code","implicit","refresh_token","client_credentials"]
	GrantTypes []string `json:"grant_types" yaml:"grant_types"`

	// Unique identifier of an authorization server (workspace)
	//
	// If not provided, a random ID is generated.
	// Example: default
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// ID token time to live
	//
	// After an ID token reaches its time to live, it expires and it cannot be used to provide
	// user profile information to a client application.
	// Example: 1h10m30s
	// Format: duration
	IDTokenTTL strfmt.Duration `json:"id_token_ttl,omitempty" yaml:"id_token_ttl,omitempty"`

	// identity assurance
	IdentityAssurance *IdentityAssuranceConfiguration `json:"identity_assurance,omitempty" yaml:"identity_assurance,omitempty"`

	// idp discovery
	IdpDiscovery *IDPDiscovery `json:"idp_discovery,omitempty" yaml:"idp_discovery,omitempty"`

	// flag to initialize server default configuration (applicable only if server does not exist)
	Initialize bool `json:"initialize,omitempty" yaml:"initialize,omitempty"`

	// Issuer ID that will be used to set `iss` claim on signed messages
	//
	// If issuer_id is not set then default issuer_url will be used
	// Example: 5647fe90-f6bc-11eb-9a03-0242ac130003
	IssuerID string `json:"issuer_id,omitempty" yaml:"issuer_id,omitempty"`

	// jwks
	Jwks *ServerJWKs `json:"jwks,omitempty" yaml:"jwks,omitempty"`

	// Determines which type of asymmetric algorithms (RSA or ECDSA) is used to generate keys for signing access and
	// ID tokens.
	//
	// It is used only as an input parameter for the Create Authorization Server API.
	// Example: rsa
	// Enum: [rsa ecdsa ps]
	KeyType string `json:"key_type,omitempty" yaml:"key_type,omitempty"`

	// legal entity
	LegalEntity *LegalEntity `json:"legal_entity,omitempty" yaml:"legal_entity,omitempty"`

	// Logo URI
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// metadata
	Metadata *ServerMetadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// Display name of the workspace
	//
	// If not provided, a random ID is generated.
	// Example: default
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// obbr
	Obbr *OBBRConfiguration `json:"obbr,omitempty" yaml:"obbr,omitempty"`

	// organization
	Organization *OrganizationConfiguration `json:"organization,omitempty" yaml:"organization,omitempty"`

	// Optional ID of a parent server
	ParentID string `json:"parent_id,omitempty" yaml:"parent_id,omitempty"`

	// The profile of a server
	//
	// ACP is delivered with preconfigured workspace templates that enable quick and easy setup for
	// specific configuration patterns. For example, you can instantly create an Open Banking
	// compliant workspace that has all of the required mechanisms and settings already in place.
	// Example: default
	// Enum: [default demo workforce consumer partners third_party fapi_advanced fapi_rw fapi_ro openbanking_uk_fapi_advanced openbanking_uk openbanking_br cdr_australia cdr_australia_fapi_rw fdx openbanking_ksa fapi_20_security fapi_20_message_signing connect_id]
	Profile string `json:"profile,omitempty" yaml:"profile,omitempty"`

	// Custom pushed authentication request TTL
	// If not provided, TTL is set to 60 seconds.
	// Format: duration
	PushedAuthorizationRequestTTL strfmt.Duration `json:"pushed_authorization_request_ttl,omitempty" yaml:"pushed_authorization_request_ttl,omitempty"`

	// Refresh token time to live
	//
	// After a refresh token reaches its time to live, it expires and it cannot be used to obtain
	// new access tokens for a client application.
	// Example: 720h0m0s
	// Format: duration
	RefreshTokenTTL strfmt.Duration `json:"refresh_token_ttl,omitempty" yaml:"refresh_token_ttl,omitempty"`

	// Boolean parameter indicating whether the authorization server accepts authorization request data only via PAR.
	RequirePushedAuthorizationRequests bool `json:"require_pushed_authorization_requests,omitempty" yaml:"require_pushed_authorization_requests,omitempty"`

	// response types
	ResponseTypes ResponseTypes `json:"response_types,omitempty" yaml:"response_types,omitempty"`

	// You can provide root Certificate Authority (CA) certificates encoded to the Privacy-Enhanced
	// Mail (PEM) file format which are used for the `tls_client_auth` and the
	// `self_signed_tls_client_auth` client authentication methods that use the Mutual
	// Transport Layer Security (mTLS).
	//
	// If not set, the system root CA certifiates are used instead.
	RootCas string `json:"root_cas,omitempty" yaml:"root_cas,omitempty"`

	// An array of rotated secrets that are still used to validate tokens
	// Example: ["jFpwIvuKJP46J71WqszPv1SrzoUr-cSILP9EPdlClB4"]
	RotatedSecrets []string `json:"rotated_secrets" yaml:"rotated_secrets"`

	// saml
	Saml *SAMLConfiguration `json:"saml,omitempty" yaml:"saml,omitempty"`

	// Secret used for hashing
	//
	// It must have at least 32 characters. If not provided, it is generated.
	// Example: hW5WhKX_7w7BLwUQ6mn7Cp70_OoKI_F1y1hLS5U8lIU
	Secret string `json:"secret,omitempty" yaml:"secret,omitempty"`

	// sso
	Sso *SSOConfiguration `json:"sso,omitempty" yaml:"sso,omitempty"`

	// styling
	Styling *Styling `json:"styling,omitempty" yaml:"styling,omitempty"`

	// Define the format of a subject
	// When set to hash sub value is a one way hash of idp id and idp sub
	// Enum: [hash legacy]
	SubjectFormat string `json:"subject_format,omitempty" yaml:"subject_format,omitempty"`

	// Salt used to hash `subject` when the `pairwise` subject type is used.
	//
	// Salt is a random data which is used as an additional input to one-way functions that hashes
	// data, passwords, and, in this case, subjects.
	//
	// It is recommended that your salt value is long for security reasons. Preferably, the salt
	// value should be at least the same length as the output of the hash.
	//
	// If not provided, it is generated.
	SubjectIdentifierAlgorithmSalt string `json:"subject_identifier_algorithm_salt,omitempty" yaml:"subject_identifier_algorithm_salt,omitempty"`

	// An array that defines supported subject identifier types.
	//
	// Subject identifiers identify an end-user. They are locally unique and never reassigned within the Issuer,
	// and are intended to be consumed by client applications. There are two types
	// of subject identifiers: `public` and `pairwise`.
	//
	// `public` identifiers provide the same `sub` claim value to all client applications.
	// `pairwise` identifiers provide different `sub` claim values to each client application. With
	// this approach, it makes it impossible for client applications to correlate the end-user's
	// activity without their permission.
	// Example: ["public","pairwise"]
	SubjectIdentifierTypes []string `json:"subject_identifier_types" yaml:"subject_identifier_types"`

	// If true this workspace can be used as a template when creating a new ones.
	Template bool `json:"template,omitempty" yaml:"template,omitempty"`

	// ID of a tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// An array that lists all of the supported token endpoint authentication methods for the
	// authorization server.
	TokenEndpointAuthMethods []string `json:"token_endpoint_auth_methods" yaml:"token_endpoint_auth_methods"`

	// Token endpoint auth signing supported alg values
	//
	// Supported algorithms: HS256, RS256, ES256, PS256
	//
	// At least one algorithm must be set.
	//
	// The default values depends on the server security profile.
	TokenEndpointAuthSigningAlgValues []string `json:"token_endpoint_auth_signing_alg_values" yaml:"token_endpoint_auth_signing_alg_values"`

	// Deprecated: Use TokenEndpointAuthMethods instead
	TokenEndpointAuthnMethods []string `json:"token_endpoint_authn_methods" yaml:"token_endpoint_authn_methods"`

	// trust anchor configuration
	TrustAnchorConfiguration *TrustAnchorConfiguration `json:"trust_anchor_configuration,omitempty" yaml:"trust_anchor_configuration,omitempty"`

	// Server type
	//
	// It is an internal property used to recognize if the server is created for an admin portal,
	// a developer portal, or if it is a system or a regular workspace.
	// Example: regular
	// Enum: [admin developer system regular organization]
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// server version to track internal changes
	// version that is currently the latest: 3
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ServerDump server dump

swagger:model ServerDump

func (*ServerDump) ContextValidate ¶

func (m *ServerDump) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server dump based on the context it is used

func (*ServerDump) MarshalBinary ¶

func (m *ServerDump) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerDump) UnmarshalBinary ¶

func (m *ServerDump) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerDump) Validate ¶

func (m *ServerDump) Validate(formats strfmt.Registry) error

Validate validates this server dump

type ServerJWK ¶

type ServerJWK struct {

	// The "alg" (algorithm) parameter identifies the algorithm intended for
	// use with the key.  The values used should either be registered in the
	// IANA "JSON Web Signature and Encryption Algorithms" registry
	// established by [JWA] or be a value that contains a Collision-
	// Resistant Name.
	// Example: RS256
	Alg string `json:"alg,omitempty" yaml:"alg,omitempty"`

	// Time when key was generated
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// crv
	// Example: P-256
	Crv string `json:"crv,omitempty" yaml:"crv,omitempty"`

	// d
	// Example: T_N8I-6He3M8a7X1vWt6TGIx4xB_GP3Mb4SsZSA4v-orvJzzRiQhLlRR81naWYxfQAYt5isDI6_C2L9bdWo4FFPjGQFvNoRX-_sBJyBI_rl-TBgsZYoUlAj3J92WmY2inbA-PwyJfsaIIDceYBC-eX-xiCu6qMqkZi3MwQAFL6bMdPEM0z4JBcwFT3VdiWAIRUuACWQwrXMq672x7fMuaIaHi7XDGgt1ith23CLfaREmJku9PQcchbt_uEY-hqrFY6ntTtS4paWWQj86xLL94S-Tf6v6xkL918PfLSOTq6XCzxvlFwzBJqApnAhbwqLjpPhgUG04EDRrqrSBc5Y1BLevn6Ip5h1AhessBp3wLkQgz_roeckt-ybvzKTjESMuagnpqLvOT7Y9veIug2MwPJZI2VjczRc1vzMs25XrFQ8DpUy-bNdp89TmvAXwctUMiJdgHloJw23Cv03gIUAkDnsTqZmkpbIf-crpgNKFmQP_EDKoe8p_PXZZgfbRri3NoEVGP7Mk6yEu8LjJhClhZaBNjuWw2-KlBfOA3g79mhfBnkInee5KO9mGR50qPk1V-MorUYNTFMZIm0kFE6eYVWFBwJHLKYhHU34DoiK1VP-svZpC2uAMFNA_UJEwM9CQ2b8qe4-5e9aywMvwcuArRkAB5mBIfOaOJao3mfukKAE
	D string `json:"d,omitempty" yaml:"d,omitempty"`

	// dp
	// Example: G4sPXkc6Ya9y8oJW9_ILj4xuppu0lzi_H7VTkS8xj5SdX3coE0oimYwxIi2emTAue0UOa5dpgFGyBJ4c8tQ2VF402XRugKDTP8akYhFo5tAA77Qe_NmtuYZc3C3m3I24G2GvR5sSDxUyAN2zq8Lfn9EUms6rY3Ob8YeiKkTiBj0
	Dp string `json:"dp,omitempty" yaml:"dp,omitempty"`

	// dq
	// Example: s9lAH9fggBsoFR8Oac2R_E2gw282rT2kGOAhvIllETE1efrA6huUUvMfBcMpn8lqeW6vzznYY5SSQF7pMdC_agI3nG8Ibp1BUb0JUiraRNqUfLhcQb_d9GF4Dh7e74WbRsobRonujTYN1xCaP6TO61jvWrX-L18txXw494Q_cgk
	Dq string `json:"dq,omitempty" yaml:"dq,omitempty"`

	// e
	// Example: AQAB
	E string `json:"e,omitempty" yaml:"e,omitempty"`

	// k
	// Example: GawgguFyGrWKav7AX4VKUg
	K string `json:"k,omitempty" yaml:"k,omitempty"`

	// The "kid" (key ID) parameter is used to match a specific key.  This
	// is used, for instance, to choose among a set of keys within a JWK Set
	// during key rollover.  The structure of the "kid" value is
	// unspecified.  When "kid" values are used within a JWK Set, different
	// keys within the JWK Set SHOULD use distinct "kid" values.  (One
	// example in which different keys might use the same "kid" value is if
	// they have different "kty" (key type) values but are considered to be
	// equivalent alternatives by the application using them.)  The "kid"
	// value is a case-sensitive string.
	// Example: 1603dfe0af8f4596
	Kid string `json:"kid,omitempty" yaml:"kid,omitempty"`

	// The "kty" (key type) parameter identifies the cryptographic algorithm
	// family used with the key, such as "RSA" or "EC". "kty" values should
	// either be registered in the IANA "JSON Web Key Types" registry
	// established by [JWA] or be a value that contains a Collision-
	// Resistant Name.  The "kty" value is a case-sensitive string.
	// Example: RSA
	// Required: true
	Kty string `json:"kty" yaml:"kty"`

	// n
	// Example: vTqrxUyQPl_20aqf5kXHwDZrel-KovIp8s7ewJod2EXHl8tWlRB3_Rem34KwBfqlKQGp1nqah-51H4Jzruqe0cFP58hPEIt6WqrvnmJCXxnNuIB53iX_uUUXXHDHBeaPCSRoNJzNysjoJ30TIUsKBiirhBa7f235PXbKiHducLevV6PcKxJ5cY8zO286qJLBWSPm-OIevwqsIsSIH44Qtm9sioFikhkbLwoqwWORGAY0nl6XvVOlhADdLjBSqSAeT1FPuCDCnXwzCDR8N9IFB_IjdStFkC-rVt2K5BYfPd0c3yFp_vHR15eRd0zJ8XQ7woBC8Vnsac6Et1pKS59pX6256DPWu8UDdEOolKAPgcd_g2NpA76cAaF_jcT80j9KrEzw8Tv0nJBGesuCjPNjGs_KzdkWTUXt23Hn9QJsdc1MZuaW0iqXBepHYfYoqNelzVte117t4BwVp0kUM6we0IqyXClaZgOI8S-WDBw2_Ovdm8e5NmhYAblEVoygcX8Y46oH6bKiaCQfKCFDMcRgChme7AoE1yZZYsPbaG_3IjPrC4LBMHQw8rM9dWjJ8ImjicvZ1pAm0dx-KHCP3y5PVKrxBDf1zSOsBRkOSjB8TPODnJMz6-jd5hTtZxpZPwPoIdCanTZ3ZD6uRBpTmDwtpRGm63UQs1m5FWPwb0T2IF0
	N string `json:"n,omitempty" yaml:"n,omitempty"`

	// p
	// Example: 6NbkXwDWUhi-eR55Cgbf27FkQDDWIamOaDr0rj1q0f1fFEz1W5A_09YvG09Fiv1AO2-D8Rl8gS1Vkz2i0zCSqnyy8A025XOcRviOMK7nIxE4OH_PEsko8dtIrb3TmE2hUXvCkmzw9EsTF1LQBOGC6iusLTXepIC1x9ukCKFZQvdgtEObQ5kzd9Nhq-cdqmSeMVLoxPLd1blviVT9Vm8-y12CtYpeJHOaIDtVPLlBhJiBoPKWg3vxSm4XxIliNOefqegIlsmTIa3MpS6WWlCK3yHhat0Q-rRxDxdyiVdG_wzJvp0Iw_2wms7pe-PgNPYvUWH9JphWP5K38YqEBiJFXQ
	P string `json:"p,omitempty" yaml:"p,omitempty"`

	// Time when key was set as current key in use
	// Format: date-time
	PromotedAt strfmt.DateTime `json:"promoted_at,omitempty" yaml:"promoted_at,omitempty"`

	// q
	// Example: 0A1FmpOWR91_RAWpqreWSavNaZb9nXeKiBo0DQGBz32DbqKqQ8S4aBJmbRhJcctjCLjain-ivut477tAUMmzJwVJDDq2MZFwC9Q-4VYZmFU4HJityQuSzHYe64RjN-E_NQ02TWhG3QGW6roq6c57c99rrUsETwJJiwS8M5p15Miuz53DaOjv-uqqFAFfywN5WkxHbraBcjHtMiQuyQbQqkCFh-oanHkwYNeytsNhTu2mQmwR5DR2roZ2nPiFjC6nsdk-A7E3S3wMzYYFw7jvbWWoYWo9vB40_MY2Y0FYQSqcDzcBIcq_0tnnasf3VW4Fdx6m80RzOb2Fsnln7vKXAQ
	Q string `json:"q,omitempty" yaml:"q,omitempty"`

	// qi
	// Example: GyM_p6JrXySiz1toFgKbWV-JdI3jQ4ypu9rbMWx3rQJBfmt0FoYzgUIZEVFEcOqwemRN81zoDAaa-Bk0KWNGDjJHZDdDmFhW3AN7lI-puxk_mHZGJ11rxyR8O55XLSe3SPmRfKwZI6yU24ZxvQKFYItdldUKGzO6Ia6zTKhAVRU
	Qi string `json:"qi,omitempty" yaml:"qi,omitempty"`

	// Time when key was revoked
	// Format: date-time
	RevokedAt strfmt.DateTime `json:"revoked_at,omitempty" yaml:"revoked_at,omitempty"`

	// Time when key was rotated
	// Format: date-time
	RotatedAt strfmt.DateTime `json:"rotated_at,omitempty" yaml:"rotated_at,omitempty"`

	// Use ("public key use") identifies the intended use of
	// the public key. The "use" parameter is employed to indicate whether
	// a public key is used for encrypting data or verifying the signature
	// on data. Values are commonly "sig" (signature) or "enc" (encryption).
	// Example: sig
	Use string `json:"use,omitempty" yaml:"use,omitempty"`

	// x
	// Example: f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU
	X string `json:"x,omitempty" yaml:"x,omitempty"`

	// The "x5c" (X.509 certificate chain) parameter contains a chain of one
	// or more PKIX certificates [RFC5280].  The certificate chain is
	// represented as a JSON array of certificate value strings.  Each
	// string in the array is a base64-encoded (Section 4 of [RFC4648] --
	// not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.
	// The PKIX certificate containing the key value MUST be the first
	// certificate.
	X5c []string `json:"x5c" yaml:"x5c"`

	// x5t
	// Example: GawgguFyGrWKav7AX4VKUg
	X5t string `json:"x5t,omitempty" yaml:"x5t,omitempty"`

	// x5t s256
	// Example: GawgguFyGrWKav7AX4VKUg
	X5tS256 string `json:"x5t#S256,omitempty" yaml:"x5t#S256,omitempty"`

	// y
	// Example: x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0
	Y string `json:"y,omitempty" yaml:"y,omitempty"`
}

ServerJWK server j w k

swagger:model ServerJWK

func (*ServerJWK) ContextValidate ¶

func (m *ServerJWK) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server j w k based on context it is used

func (*ServerJWK) MarshalBinary ¶

func (m *ServerJWK) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerJWK) UnmarshalBinary ¶

func (m *ServerJWK) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerJWK) Validate ¶

func (m *ServerJWK) Validate(formats strfmt.Registry) error

Validate validates this server j w k

type ServerJWKs ¶

type ServerJWKs struct {

	// keys
	// Example: []
	Keys []*ServerJWK `json:"keys" yaml:"keys"`

	// next encryption key
	NextEncryptionKey *ServerJWK `json:"next_encryption_key,omitempty" yaml:"next_encryption_key,omitempty"`

	// next signing key
	NextSigningKey *ServerJWK `json:"next_signing_key,omitempty" yaml:"next_signing_key,omitempty"`

	// An array of revoked encryption keys
	//
	// Revoked encryption keys cannot be used to encrypt payloads between servers and client applications
	RevokedEncryptionKeys []*ServerJWK `json:"revoked_encryption_keys" yaml:"revoked_encryption_keys"`

	// The maximum number of revoked keys that ACP stores.
	RevokedKeysLimit int64 `json:"revoked_keys_limit,omitempty" yaml:"revoked_keys_limit,omitempty"`

	// An array of revoked sigining keys
	//
	// Revoked signing keys cannot be used to sign any tokens.
	// Any attempt to authenticate using a token signed with a revoked signing key results
	// in failed authentication.
	RevokedSigningKeys []*ServerJWK `json:"revoked_signing_keys" yaml:"revoked_signing_keys"`

	// The maximum number of rotated keys that ACP stores.
	RotatedKeysLimit int64 `json:"rotated_keys_limit,omitempty" yaml:"rotated_keys_limit,omitempty"`
}

ServerJWKs server j w ks

swagger:model ServerJWKs

func (*ServerJWKs) ContextValidate ¶

func (m *ServerJWKs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server j w ks based on the context it is used

func (*ServerJWKs) MarshalBinary ¶

func (m *ServerJWKs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerJWKs) UnmarshalBinary ¶

func (m *ServerJWKs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerJWKs) Validate ¶

func (m *ServerJWKs) Validate(formats strfmt.Registry) error

Validate validates this server j w ks

type ServerMetadata ¶

type ServerMetadata struct {

	// metadata payload
	Payload map[string]interface{} `json:"payload,omitempty" yaml:"payload,omitempty"`

	// schema
	Schema *SupportedJSONSchema `json:"schema,omitempty" yaml:"schema,omitempty"`
}

ServerMetadata server metadata

swagger:model ServerMetadata

func (*ServerMetadata) ContextValidate ¶

func (m *ServerMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server metadata based on the context it is used

func (*ServerMetadata) MarshalBinary ¶

func (m *ServerMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerMetadata) UnmarshalBinary ¶

func (m *ServerMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerMetadata) Validate ¶

func (m *ServerMetadata) Validate(formats strfmt.Registry) error

Validate validates this server metadata

type ServerToServer ¶

type ServerToServer struct {

	// dependent server id
	// Example: default
	Dependent string `json:"dependent,omitempty" yaml:"dependent,omitempty"`

	// authorization server id
	// Example: developer
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`
}

ServerToServer server to server

swagger:model ServerToServer

func (*ServerToServer) ContextValidate ¶

func (m *ServerToServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server to server based on context it is used

func (*ServerToServer) MarshalBinary ¶

func (m *ServerToServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerToServer) UnmarshalBinary ¶

func (m *ServerToServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerToServer) Validate ¶

func (m *ServerToServer) Validate(formats strfmt.Registry) error

Validate validates this server to server

type ServerToTheme ¶

type ServerToTheme struct {

	// authorization server id
	// Example: developer
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// tenant id
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// theme id
	// Example: acme
	ThemeID string `json:"theme_id,omitempty" yaml:"theme_id,omitempty"`
}

ServerToTheme server to theme

swagger:model ServerToTheme

func (*ServerToTheme) ContextValidate ¶

func (m *ServerToTheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server to theme based on context it is used

func (*ServerToTheme) MarshalBinary ¶

func (m *ServerToTheme) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerToTheme) UnmarshalBinary ¶

func (m *ServerToTheme) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerToTheme) Validate ¶

func (m *ServerToTheme) Validate(formats strfmt.Registry) error

Validate validates this server to theme

type ServiceWithScopesAndAPIsAndAuthorizationDetails ¶

type ServiceWithScopesAndAPIsAndAuthorizationDetails struct {

	// list of apis
	Apis []*API `json:"apis" yaml:"apis"`

	// list of authorization details
	AuthorizationDetails []*AuthorizationDetail `json:"authorization_details" yaml:"authorization_details"`

	// Authorization server identifier
	// Example: my-server
	AuthorizationServerID string `json:"authorization_server_id,omitempty" yaml:"authorization_server_id,omitempty"`

	// Custom service audience
	// Example: https://api.example.com
	CustomAudience string `json:"custom_audience,omitempty" yaml:"custom_audience,omitempty"`

	// Service description
	// Example: Service description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// Gateway identifier
	// Example: gateway-1
	GatewayID string `json:"gateway_id,omitempty" yaml:"gateway_id,omitempty"`

	// A unique identifier of a service
	// Example: service-1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// Service name
	// Example: My service
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// list of scopes
	Scopes []*Scope `json:"scopes" yaml:"scopes"`

	// `true` when the service is a system service
	// Example: false
	System bool `json:"system,omitempty" yaml:"system,omitempty"`

	// Tenant identifier
	// Example: my-company
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// Service type
	// Enum: [oauth2 oidc system user openbanking]
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// The date of service update
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`

	// `true` when the service has the OpenAPI 3.0 specification
	WithSpecification bool `json:"with_specification,omitempty" yaml:"with_specification,omitempty"`
}

ServiceWithScopesAndAPIsAndAuthorizationDetails service with scopes and a p is and authorization details

swagger:model ServiceWithScopesAndAPIsAndAuthorizationDetails

func (*ServiceWithScopesAndAPIsAndAuthorizationDetails) ContextValidate ¶

ContextValidate validate this service with scopes and a p is and authorization details based on the context it is used

func (*ServiceWithScopesAndAPIsAndAuthorizationDetails) MarshalBinary ¶

MarshalBinary interface implementation

func (*ServiceWithScopesAndAPIsAndAuthorizationDetails) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ServiceWithScopesAndAPIsAndAuthorizationDetails) Validate ¶

Validate validates this service with scopes and a p is and authorization details

type SetRateLimitRequest ¶

type SetRateLimitRequest struct {

	// max burst
	Burst int64 `json:"burst,omitempty" yaml:"burst,omitempty"`

	// period
	// Format: duration
	Period strfmt.Duration `json:"period,omitempty" yaml:"period,omitempty"`

	// rate
	Rate int64 `json:"rate,omitempty" yaml:"rate,omitempty"`
}

SetRateLimitRequest set rate limit request

swagger:model SetRateLimitRequest

func (*SetRateLimitRequest) ContextValidate ¶

func (m *SetRateLimitRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set rate limit request based on context it is used

func (*SetRateLimitRequest) MarshalBinary ¶

func (m *SetRateLimitRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetRateLimitRequest) UnmarshalBinary ¶

func (m *SetRateLimitRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetRateLimitRequest) Validate ¶

func (m *SetRateLimitRequest) Validate(formats strfmt.Registry) error

Validate validates this set rate limit request

type SetTenantFeature ¶

type SetTenantFeature struct {

	// flag
	Flag string `json:"flag,omitempty" yaml:"flag,omitempty"`

	// value
	Value bool `json:"value,omitempty" yaml:"value,omitempty"`
}

SetTenantFeature set tenant feature

swagger:model SetTenantFeature

func (*SetTenantFeature) ContextValidate ¶

func (m *SetTenantFeature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set tenant feature based on context it is used

func (*SetTenantFeature) MarshalBinary ¶

func (m *SetTenantFeature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetTenantFeature) UnmarshalBinary ¶

func (m *SetTenantFeature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetTenantFeature) Validate ¶

func (m *SetTenantFeature) Validate(formats strfmt.Registry) error

Validate validates this set tenant feature

type SpecVersion ¶

type SpecVersion string

SpecVersion spec version

swagger:model SpecVersion

func (SpecVersion) ContextValidate ¶

func (m SpecVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this spec version based on context it is used

func (SpecVersion) Validate ¶

func (m SpecVersion) Validate(formats strfmt.Registry) error

Validate validates this spec version

type StaticCredentials ¶

type StaticCredentials struct {

	// An array of users, their credentials and authentication context.
	//
	// The `users` parameter accepts a JSON of user data. You can add multiple users, define their
	// usernames and passwords. You can also enrich their authentication context.
	Users []*StaticUser `json:"users" yaml:"users"`
}

StaticCredentials Static IDP specific credentials

swagger:model StaticCredentials

func (*StaticCredentials) ContextValidate ¶

func (m *StaticCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this static credentials based on the context it is used

func (*StaticCredentials) MarshalBinary ¶

func (m *StaticCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StaticCredentials) UnmarshalBinary ¶

func (m *StaticCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StaticCredentials) Validate ¶

func (m *StaticCredentials) Validate(formats strfmt.Registry) error

Validate validates this static credentials

type StaticSettings ¶

type StaticSettings struct {

	// If enabled, a hint message is displayed
	Hint bool `json:"hint,omitempty" yaml:"hint,omitempty"`
}

StaticSettings Static IDP specific settings

swagger:model StaticSettings

func (*StaticSettings) ContextValidate ¶

func (m *StaticSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this static settings based on context it is used

func (*StaticSettings) MarshalBinary ¶

func (m *StaticSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StaticSettings) UnmarshalBinary ¶

func (m *StaticSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StaticSettings) Validate ¶

func (m *StaticSettings) Validate(formats strfmt.Registry) error

Validate validates this static settings

type StaticUser ¶

type StaticUser struct {

	// additional attributes
	AdditionalAttributes AuthenticationContext `json:"additional_attributes,omitempty" yaml:"additional_attributes,omitempty"`

	// authentication context
	AuthenticationContext AuthenticationContext `json:"authentication_context,omitempty" yaml:"authentication_context,omitempty"`

	// User's preferred email.
	Email string `json:"email,omitempty" yaml:"email,omitempty"`

	// If set to true, indicates that the user's email was verified.
	EmailVerified bool `json:"email_verified,omitempty" yaml:"email_verified,omitempty"`

	// User password.
	// Example: secret
	Password string `json:"password,omitempty" yaml:"password,omitempty"`

	// User's preferred phone number
	PhoneNumber string `json:"phone_number,omitempty" yaml:"phone_number,omitempty"`

	// If set to true, indicates that the user's phone number was verified.
	PhoneNumberVerified bool `json:"phone_number_verified,omitempty" yaml:"phone_number_verified,omitempty"`

	// User login.
	// Example: peter
	Username string `json:"username,omitempty" yaml:"username,omitempty"`
}

StaticUser static user

swagger:model StaticUser

func (*StaticUser) ContextValidate ¶

func (m *StaticUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this static user based on the context it is used

func (*StaticUser) MarshalBinary ¶

func (m *StaticUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StaticUser) UnmarshalBinary ¶

func (m *StaticUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StaticUser) Validate ¶

func (m *StaticUser) Validate(formats strfmt.Registry) error

Validate validates this static user

type Styling ¶

type Styling struct {

	// colors
	Colors StylingColors `json:"colors,omitempty" yaml:"colors,omitempty"`

	// font url
	FontURL string `json:"font_url,omitempty" yaml:"font_url,omitempty"`

	// logo size
	LogoSize string `json:"logo_size,omitempty" yaml:"logo_size,omitempty"`

	// logo url
	LogoURL string `json:"logo_url,omitempty" yaml:"logo_url,omitempty"`
}

Styling styling

swagger:model Styling

func (*Styling) ContextValidate ¶

func (m *Styling) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this styling based on the context it is used

func (*Styling) MarshalBinary ¶

func (m *Styling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Styling) UnmarshalBinary ¶

func (m *Styling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Styling) Validate ¶

func (m *Styling) Validate(formats strfmt.Registry) error

Validate validates this styling

type StylingColors ¶

type StylingColors struct {

	// background
	Background string `json:"background,omitempty" yaml:"background,omitempty"`

	// header
	Header string `json:"header,omitempty" yaml:"header,omitempty"`

	// primary
	Primary string `json:"primary,omitempty" yaml:"primary,omitempty"`
}

StylingColors styling colors

swagger:model StylingColors

func (*StylingColors) ContextValidate ¶

func (m *StylingColors) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this styling colors based on context it is used

func (*StylingColors) MarshalBinary ¶

func (m *StylingColors) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StylingColors) UnmarshalBinary ¶

func (m *StylingColors) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StylingColors) Validate ¶

func (m *StylingColors) Validate(formats strfmt.Registry) error

Validate validates this styling colors

type SupportedJSONSchema ¶

type SupportedJSONSchema struct {

	// additional properties
	AdditionalProperties bool `json:"additionalProperties,omitempty" yaml:"additionalProperties,omitempty"`

	// all of
	AllOf []*SupportedJSONSchema `json:"allOf" yaml:"allOf"`

	// any of
	AnyOf []*SupportedJSONSchema `json:"anyOf" yaml:"anyOf"`

	// const
	Const string `json:"const,omitempty" yaml:"const,omitempty"`

	// contains
	Contains *SupportedJSONSchema `json:"contains,omitempty" yaml:"contains,omitempty"`

	// dependent required
	DependentRequired map[string][]string `json:"dependentRequired,omitempty" yaml:"dependentRequired,omitempty"`

	// dependent schemas
	DependentSchemas map[string]SupportedJSONSchema `json:"dependentSchemas,omitempty" yaml:"dependentSchemas,omitempty"`

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// else
	Else *SupportedJSONSchema `json:"else,omitempty" yaml:"else,omitempty"`

	// enum
	Enum []string `json:"enum" yaml:"enum"`

	// exclusive maximum
	ExclusiveMaximum int64 `json:"exclusiveMaximum,omitempty" yaml:"exclusiveMaximum,omitempty"`

	// exclusive minimum
	ExclusiveMinimum int64 `json:"exclusiveMinimum,omitempty" yaml:"exclusiveMinimum,omitempty"`

	// hidden
	Hidden bool `json:"hidden,omitempty" yaml:"hidden,omitempty"`

	// if
	If *SupportedJSONSchema `json:"if,omitempty" yaml:"if,omitempty"`

	// items
	Items *SupportedJSONSchema `json:"items,omitempty" yaml:"items,omitempty"`

	// max contains
	MaxContains int64 `json:"maxContains,omitempty" yaml:"maxContains,omitempty"`

	// arrays
	MaxItems int64 `json:"maxItems,omitempty" yaml:"maxItems,omitempty"`

	// strings
	MaxLength int64 `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`

	// objects
	MaxProperties int64 `json:"maxProperties,omitempty" yaml:"maxProperties,omitempty"`

	// maximum
	Maximum int64 `json:"maximum,omitempty" yaml:"maximum,omitempty"`

	// min contains
	MinContains int64 `json:"minContains,omitempty" yaml:"minContains,omitempty"`

	// min items
	MinItems int64 `json:"minItems,omitempty" yaml:"minItems,omitempty"`

	// min length
	MinLength int64 `json:"minLength,omitempty" yaml:"minLength,omitempty"`

	// min properties
	MinProperties int64 `json:"minProperties,omitempty" yaml:"minProperties,omitempty"`

	// minimum
	Minimum int64 `json:"minimum,omitempty" yaml:"minimum,omitempty"`

	// numeric
	MultipleOf int64 `json:"multipleOf,omitempty" yaml:"multipleOf,omitempty"`

	// not
	Not *SupportedJSONSchema `json:"not,omitempty" yaml:"not,omitempty"`

	// one of
	OneOf []*SupportedJSONSchema `json:"oneOf" yaml:"oneOf"`

	// pattern
	Pattern string `json:"pattern,omitempty" yaml:"pattern,omitempty"`

	// pattern properties
	PatternProperties map[string]SupportedJSONSchema `json:"patternProperties,omitempty" yaml:"patternProperties,omitempty"`

	// properties
	Properties map[string]SupportedJSONSchema `json:"properties,omitempty" yaml:"properties,omitempty"`

	// property names
	PropertyNames *SupportedJSONSchema `json:"propertyNames,omitempty" yaml:"propertyNames,omitempty"`

	// required
	Required []string `json:"required" yaml:"required"`

	// then
	Then *SupportedJSONSchema `json:"then,omitempty" yaml:"then,omitempty"`

	// any
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// unique items
	UniqueItems bool `json:"uniqueItems,omitempty" yaml:"uniqueItems,omitempty"`
}

SupportedJSONSchema supported JSON schema

swagger:model SupportedJSONSchema

func (*SupportedJSONSchema) ContextValidate ¶

func (m *SupportedJSONSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this supported JSON schema based on the context it is used

func (*SupportedJSONSchema) MarshalBinary ¶

func (m *SupportedJSONSchema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportedJSONSchema) UnmarshalBinary ¶

func (m *SupportedJSONSchema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportedJSONSchema) Validate ¶

func (m *SupportedJSONSchema) Validate(formats strfmt.Registry) error

Validate validates this supported JSON schema

type Template ¶

type Template struct {

	// content of the template
	Content string `json:"content,omitempty" yaml:"content,omitempty"`

	// timestamp when the template was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// path to the template in a filesystem zip archive
	// Required: true
	FsPath string `json:"fs_path" yaml:"fs_path"`

	// ID of the tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// theme unique identifier
	// Required: true
	ThemeID string `json:"theme_id" yaml:"theme_id"`

	// timestamp when the template was last updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`
}

Template Custom Branding template

swagger:model Template

func (*Template) ContextValidate ¶

func (m *Template) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this template based on context it is used

func (*Template) MarshalBinary ¶

func (m *Template) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Template) UnmarshalBinary ¶

func (m *Template) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Template) Validate ¶

func (m *Template) Validate(formats strfmt.Registry) error

Validate validates this template

type Tenant ¶

type Tenant struct {

	// tenant unique identifier
	// exampe: default
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// jwks
	Jwks *ServerJWKs `json:"jwks,omitempty" yaml:"jwks,omitempty"`

	// license
	License *License `json:"license,omitempty" yaml:"license,omitempty"`

	// metadata
	Metadata TenantMetadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// tenant name
	// Example: Default
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// settings
	Settings *TenantSettings `json:"settings,omitempty" yaml:"settings,omitempty"`

	// styling
	Styling *Styling `json:"styling,omitempty" yaml:"styling,omitempty"`

	// optional custom tenant url. If not provided the server url is used instead
	// Example: https://example.com/default
	URL string `json:"url,omitempty" yaml:"url,omitempty"`
}

Tenant tenant

swagger:model Tenant

func (*Tenant) ContextValidate ¶

func (m *Tenant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenant based on the context it is used

func (*Tenant) MarshalBinary ¶

func (m *Tenant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tenant) UnmarshalBinary ¶

func (m *Tenant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tenant) Validate ¶

func (m *Tenant) Validate(formats strfmt.Registry) error

Validate validates this tenant

type TenantCreated ¶

type TenantCreated struct {

	// list of clients created in tenant
	Clients []*Client `json:"clients" yaml:"clients"`

	// list of identity providers
	Idps []*IDP `json:"idps" yaml:"idps"`

	// list of servers created in tenant
	Servers []*Server `json:"servers" yaml:"servers"`

	// tenant
	Tenant *Tenant `json:"tenant,omitempty" yaml:"tenant,omitempty"`
}

TenantCreated tenant created

swagger:model TenantCreated

func (*TenantCreated) ContextValidate ¶

func (m *TenantCreated) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenant created based on the context it is used

func (*TenantCreated) MarshalBinary ¶

func (m *TenantCreated) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TenantCreated) UnmarshalBinary ¶

func (m *TenantCreated) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TenantCreated) Validate ¶

func (m *TenantCreated) Validate(formats strfmt.Registry) error

Validate validates this tenant created

type TenantMetadata ¶

type TenantMetadata map[string]interface{}

TenantMetadata tenant metadata

swagger:model TenantMetadata

func (TenantMetadata) ContextValidate ¶

func (m TenantMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tenant metadata based on context it is used

func (TenantMetadata) Validate ¶

func (m TenantMetadata) Validate(formats strfmt.Registry) error

Validate validates this tenant metadata

type TenantSettings ¶

type TenantSettings struct {

	// default template id
	DefaultTemplateID string `json:"default_template_id,omitempty" yaml:"default_template_id,omitempty"`

	// default workspace id
	DefaultWorkspaceID string `json:"default_workspace_id,omitempty" yaml:"default_workspace_id,omitempty"`
}

TenantSettings tenant settings

swagger:model TenantSettings

func (*TenantSettings) ContextValidate ¶

func (m *TenantSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tenant settings based on context it is used

func (*TenantSettings) MarshalBinary ¶

func (m *TenantSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TenantSettings) UnmarshalBinary ¶

func (m *TenantSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TenantSettings) Validate ¶

func (m *TenantSettings) Validate(formats strfmt.Registry) error

Validate validates this tenant settings

type Tenants ¶

type Tenants struct {

	// tenants
	Tenants []*Tenant `json:"tenants" yaml:"tenants"`
}

Tenants tenants

swagger:model Tenants

func (*Tenants) ContextValidate ¶

func (m *Tenants) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tenants based on the context it is used

func (*Tenants) MarshalBinary ¶

func (m *Tenants) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tenants) UnmarshalBinary ¶

func (m *Tenants) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tenants) Validate ¶

func (m *Tenants) Validate(formats strfmt.Registry) error

Validate validates this tenants

type Theme ¶

type Theme struct {

	// theme unique identifier
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// theme logo url
	LogoURL string `json:"logo_url,omitempty" yaml:"logo_url,omitempty"`

	// Display name of the theme
	// Example: acme
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// ID of the tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`
}

Theme Custom Branding theme

swagger:model Theme

func (*Theme) ContextValidate ¶

func (m *Theme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this theme based on context it is used

func (*Theme) MarshalBinary ¶

func (m *Theme) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Theme) UnmarshalBinary ¶

func (m *Theme) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Theme) Validate ¶

func (m *Theme) Validate(formats strfmt.Registry) error

Validate validates this theme

type Token ¶

type Token struct {

	// index
	Index int64 `json:"Index,omitempty" yaml:"Index,omitempty"`

	// parent
	Parent *Element `json:"Parent,omitempty" yaml:"Parent,omitempty"`
}

Token A Token is an interface type used to represent XML elements, character data, CDATA sections, XML comments, XML directives, and XML processing instructions.

swagger:model Token

func (*Token) ContextValidate ¶

func (m *Token) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this token based on the context it is used

func (*Token) MarshalBinary ¶

func (m *Token) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Token) UnmarshalBinary ¶

func (m *Token) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Token) Validate ¶

func (m *Token) Validate(formats strfmt.Registry) error

Validate validates this token

type TokenTTLs ¶

type TokenTTLs struct {

	// Access token time to live
	//
	// After an access token reaches its time to live, it expires and it cannot be used to
	// authenticate the client application.
	// Example: 1h10m30s
	// Format: duration
	AccessTokenTTL strfmt.Duration `json:"access_token_ttl,omitempty" yaml:"access_token_ttl,omitempty"`

	// Authorization code time to live
	//
	// After an authorization code reaches its time to live, it expires and it cannot be used to
	// authorize the request to the `/token` endpoint.
	// Example: 10m0s
	// Format: duration
	AuthorizationCodeTTL strfmt.Duration `json:"authorization_code_ttl,omitempty" yaml:"authorization_code_ttl,omitempty"`

	// ID token time to live
	//
	// After an ID token reaches its time to live, it expires and it cannot be used to provide
	// user profile information to a client application.
	// Example: 1h10m30s
	// Format: duration
	IDTokenTTL strfmt.Duration `json:"id_token_ttl,omitempty" yaml:"id_token_ttl,omitempty"`

	// Refresh token time to live
	//
	// After a refresh token reaches its time to live, it expires and it cannot be used to obtain
	// new access tokens for a client application.
	// Example: 720h0m0s
	// Format: duration
	RefreshTokenTTL strfmt.Duration `json:"refresh_token_ttl,omitempty" yaml:"refresh_token_ttl,omitempty"`
}

TokenTTLs token t t ls

swagger:model TokenTTLs

func (*TokenTTLs) ContextValidate ¶

func (m *TokenTTLs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token t t ls based on context it is used

func (*TokenTTLs) MarshalBinary ¶

func (m *TokenTTLs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenTTLs) UnmarshalBinary ¶

func (m *TokenTTLs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenTTLs) Validate ¶

func (m *TokenTTLs) Validate(formats strfmt.Registry) error

Validate validates this token t t ls

type TrustAnchorConfiguration ¶

type TrustAnchorConfiguration struct {

	// jwks
	Jwks *ClientJWKs `json:"jwks,omitempty" yaml:"jwks,omitempty"`

	// URI of the JWKs of the trusted party responsible for signing the Software Statement
	JwksURI string `json:"jwks_uri,omitempty" yaml:"jwks_uri,omitempty"`
}

TrustAnchorConfiguration trust anchor configuration

swagger:model TrustAnchorConfiguration

func (*TrustAnchorConfiguration) ContextValidate ¶

func (m *TrustAnchorConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trust anchor configuration based on the context it is used

func (*TrustAnchorConfiguration) MarshalBinary ¶

func (m *TrustAnchorConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustAnchorConfiguration) UnmarshalBinary ¶

func (m *TrustAnchorConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustAnchorConfiguration) Validate ¶

func (m *TrustAnchorConfiguration) Validate(formats strfmt.Registry) error

Validate validates this trust anchor configuration

type UserAttributeMapping ¶

type UserAttributeMapping struct {

	// If enabled, the decoder makes the following "weak" conversions:
	//
	// Bools to string (true = "1", false = "0")
	//
	// numbers to string (base 10)
	//
	// bools to int/uint (true = 1, false = 0)
	//
	// strings to int/uint (base implied by prefix)
	//
	// int to bool (true if value != 0)
	//
	// string to bool (accepts only the following: 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False)
	//
	// empty array = empty map and vice versa
	//
	// negative numbers to overflowed uint values (base 10)
	//
	// slice of maps to a merged map
	//
	// single values are converted to slices if required. Each element is weakly decoded.
	// Example: false
	AllowWeakDecoding bool `json:"allow_weak_decoding,omitempty" yaml:"allow_weak_decoding,omitempty"`

	// mode
	Mode MappingMode `json:"mode,omitempty" yaml:"mode,omitempty"`

	// Source attribute.
	//
	// Source path to the attribute(s) which should be copied to the authentication context.
	// Use '.' to copy everything.
	// Required for dynamic mode.
	// Example: access_token
	Source string `json:"source,omitempty" yaml:"source,omitempty"`

	// When static mode is used, this field contains a value that will be populated into a target attribute.
	Static interface{} `json:"static,omitempty" yaml:"static,omitempty"`

	// Target attribute.
	//
	// Target path in the authentication context where source attribute(s) should be pasted.
	// Use '.' to paste to the context top level object.
	// Example: .
	// Required: true
	Target string `json:"target" yaml:"target"`

	// Type of the target attribute
	//
	// The `type` parameter accepts the following values:
	// `number`, `string`, `bool`, `number_array`, `string_array`, `bool_array`, `any`.
	// Example: string
	// Required: true
	Type string `json:"type" yaml:"type"`

	// update on sign in
	UpdateOnSignIn bool `json:"update_on_sign_in,omitempty" yaml:"update_on_sign_in,omitempty"`
}

UserAttributeMapping user attribute mapping

swagger:model UserAttributeMapping

func (*UserAttributeMapping) ContextValidate ¶

func (m *UserAttributeMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user attribute mapping based on the context it is used

func (*UserAttributeMapping) MarshalBinary ¶

func (m *UserAttributeMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAttributeMapping) UnmarshalBinary ¶

func (m *UserAttributeMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAttributeMapping) Validate ¶

func (m *UserAttributeMapping) Validate(formats strfmt.Registry) error

Validate validates this user attribute mapping

type UserAttributesMapping ¶

type UserAttributesMapping []*UserAttributeMapping

UserAttributesMapping user attributes mapping

swagger:model UserAttributesMapping

func (UserAttributesMapping) ContextValidate ¶

func (m UserAttributesMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user attributes mapping based on the context it is used

func (UserAttributesMapping) Validate ¶

func (m UserAttributesMapping) Validate(formats strfmt.Registry) error

Validate validates this user attributes mapping

type UserCodeCharacterSet ¶

type UserCodeCharacterSet string

UserCodeCharacterSet user code character set

swagger:model UserCodeCharacterSet

func (UserCodeCharacterSet) ContextValidate ¶

func (m UserCodeCharacterSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user code character set based on context it is used

func (UserCodeCharacterSet) Validate ¶

func (m UserCodeCharacterSet) Validate(formats strfmt.Registry) error

Validate validates this user code character set

type ValidatorConfig ¶

type ValidatorConfig struct {

	// Configuration of the validator provided in the JSON format
	//
	// Validators configuration is an array of fields where each node consists of a comparator used,
	// validated field, and a value for comparison. Configuration can be also branched, which means
	// that it is possible to create conditional validators. It allows to define complex
	// authorization scenarios based on the results from other policy validators.
	Conf map[string]interface{} `json:"conf,omitempty" yaml:"conf,omitempty"`

	// The name of your validator
	// Example: identity-context
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// recovery
	Recovery []*RecoveryConfig `json:"recovery" yaml:"recovery"`
}

ValidatorConfig Configuration of a policy validator

Depending on the type of a policy different validators are available.

swagger:model ValidatorConfig

func (*ValidatorConfig) ContextValidate ¶

func (m *ValidatorConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this validator config based on the context it is used

func (*ValidatorConfig) MarshalBinary ¶

func (m *ValidatorConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValidatorConfig) UnmarshalBinary ¶

func (m *ValidatorConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValidatorConfig) Validate ¶

func (m *ValidatorConfig) Validate(formats strfmt.Registry) error

Validate validates this validator config

type VanityDomain ¶

type VanityDomain struct {

	// api key
	APIKey string `json:"api_key,omitempty" yaml:"api_key,omitempty"`

	// base path to use with a configured vanity domain
	// Example: /prefix
	BasePath string `json:"base_path,omitempty" yaml:"base_path,omitempty"`

	// domain cerificate
	Cert string `json:"cert,omitempty" yaml:"cert,omitempty"`

	// vanity domain
	// Example: example.com
	// Required: true
	Domain string `json:"domain" yaml:"domain"`

	// ID
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// domain private key
	Key string `json:"key,omitempty" yaml:"key,omitempty"`

	// Unique identifier of an authorization server (workspace)
	// Example: default
	ServerID string `json:"server_id,omitempty" yaml:"server_id,omitempty"`

	// ID of a tenant
	// Example: default
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// type
	Type VanityDomainType `json:"type,omitempty" yaml:"type,omitempty"`
}

VanityDomain vanity domain

swagger:model VanityDomain

func (*VanityDomain) ContextValidate ¶

func (m *VanityDomain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vanity domain based on the context it is used

func (*VanityDomain) MarshalBinary ¶

func (m *VanityDomain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VanityDomain) UnmarshalBinary ¶

func (m *VanityDomain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VanityDomain) Validate ¶

func (m *VanityDomain) Validate(formats strfmt.Registry) error

Validate validates this vanity domain

type VanityDomainType ¶

type VanityDomainType string

VanityDomainType vanity domain type

swagger:model VanityDomainType

func (VanityDomainType) ContextValidate ¶

func (m VanityDomainType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vanity domain type based on context it is used

func (VanityDomainType) Validate ¶

func (m VanityDomainType) Validate(formats strfmt.Registry) error

Validate validates this vanity domain type

type Webhook ¶

type Webhook struct {

	// Active
	Active bool `json:"active,omitempty" yaml:"active,omitempty"`

	// API Key
	APIKey string `json:"api_key,omitempty" yaml:"api_key,omitempty"`

	// events
	Events map[string][]string `json:"events,omitempty" yaml:"events,omitempty"`

	// Insecure
	Insecure bool `json:"insecure,omitempty" yaml:"insecure,omitempty"`

	// ID of the server
	// Required: true
	ServerID string `json:"server_id" yaml:"server_id"`

	// ID of the tenant
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// url of the Webhook
	URL string `json:"url,omitempty" yaml:"url,omitempty"`

	// ID to the Webhook
	// Required: true
	WebhookID string `json:"webhook_id" yaml:"webhook_id"`
}

Webhook Custom Branding Webhook

swagger:model Webhook

func (*Webhook) ContextValidate ¶

func (m *Webhook) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this webhook based on context it is used

func (*Webhook) MarshalBinary ¶

func (m *Webhook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Webhook) UnmarshalBinary ¶

func (m *Webhook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Webhook) Validate ¶

func (m *Webhook) Validate(formats strfmt.Registry) error

Validate validates this webhook

type X509Certificate ¶

type X509Certificate struct {

	// data
	Data string `json:"Data,omitempty" yaml:"Data,omitempty"`

	// XML name
	XMLName *Name `json:"XMLName,omitempty" yaml:"XMLName,omitempty"`
}

X509Certificate X509Certificate represents the XMLSEC object of the same name

swagger:model X509Certificate

func (*X509Certificate) ContextValidate ¶

func (m *X509Certificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this x509 certificate based on the context it is used

func (*X509Certificate) MarshalBinary ¶

func (m *X509Certificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*X509Certificate) UnmarshalBinary ¶

func (m *X509Certificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*X509Certificate) Validate ¶

func (m *X509Certificate) Validate(formats strfmt.Registry) error

Validate validates this x509 certificate

type X509Data ¶

type X509Data struct {

	// x509 certificates
	X509Certificates []*X509Certificate `json:"X509Certificates" yaml:"X509Certificates"`

	// XML name
	XMLName *Name `json:"XMLName,omitempty" yaml:"XMLName,omitempty"`
}

X509Data X509Data represents the XMLSEC object of the same name

swagger:model X509Data

func (*X509Data) ContextValidate ¶

func (m *X509Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this x509 data based on the context it is used

func (*X509Data) MarshalBinary ¶

func (m *X509Data) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*X509Data) UnmarshalBinary ¶

func (m *X509Data) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*X509Data) Validate ¶

func (m *X509Data) Validate(formats strfmt.Registry) error

Validate validates this x509 data

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL