Documentation
¶
Index ¶
- type AccessibleCompartmentRequest
- type AccessibleCompartmentResponse
- type AssociationAuthorizationRequest
- type AuthServiceUser
- type AuthenticateClientDetails
- type AuthenticateClientResult
- type AuthenticateUserResult
- type AuthenticationPolicy
- type AuthenticationPrincipal
- type AuthenticationRequest
- type AuthorizationRequest
- type BadUserStateAuthenticateUserResult
- type BadUserStateAuthenticateUserResultUserStateEnum
- type Claim
- type ClientCredentialsResponse
- type CommonPrincipal
- type Compartment
- type CompartmentMetadata
- type CompartmentMetadataAccessLevelEnum
- type ContextVariable
- type ContextVariableTypeEnum
- type CostTrackingTag
- type CredentialAuthenticatorInfo
- type DataplaneClient
- func (client *DataplaneClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DataplaneClient) GenerateScopedAccessToken(ctx context.Context, request GenerateScopedAccessTokenRequest) (response GenerateScopedAccessTokenResponse, err error)
- func (client *DataplaneClient) SetRegion(region string)
- type DerivedKeyResponse
- type EntityStatus
- type FilterGroupMembershipDetails
- type FilterGroupMembershipResult
- type GenerateScopedAccessTokenDetails
- type GenerateScopedAccessTokenRequest
- func (request GenerateScopedAccessTokenRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GenerateScopedAccessTokenRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GenerateScopedAccessTokenRequest) RetryPolicy() *common.RetryPolicy
- func (request GenerateScopedAccessTokenRequest) String() string
- type GenerateScopedAccessTokenResponse
- type IdentityProvider
- type IdentityProviderProtocolEnum
- type Jwk
- type OnBehalfOfRequest
- type PasswordPolicy
- type PasswordResetAuthenticationRequest
- type Permission
- type PermissionContext
- type Principal
- type RefreshRequest
- type ResourcePrincipalSessionTokenRequest
- type SecurityToken
- type Tenant
- type TenantNotFoundAuthenticateUserResult
- type ThickAuthorizationResponse
- type ThinAssociationAuthorizationResponse
- type ThinAssociationAuthorizationResponseAssociationResultEnum
- type ThinAuthorizationResponse
- type User
- type UserNotFoundAuthenticateUserResult
- type ValidAuthenticateUserResult
- type X509FederationRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessibleCompartmentRequest ¶
type AccessibleCompartmentRequest struct {
// The authorization request.
AuthorizationRequest *AuthorizationRequest `mandatory:"true" json:"authorizationRequest"`
// The list of compartment ids.
CompartmentIds []string `mandatory:"true" json:"compartmentIds"`
}
AccessibleCompartmentRequest The representation of AccessibleCompartmentRequest
func (AccessibleCompartmentRequest) String ¶
func (m AccessibleCompartmentRequest) String() string
type AccessibleCompartmentResponse ¶
type AccessibleCompartmentResponse struct {
// The compartments metadata.
CompartmentsMetadata []CompartmentMetadata `mandatory:"true" json:"compartmentsMetadata"`
}
AccessibleCompartmentResponse The representation of AccessibleCompartmentResponse
func (AccessibleCompartmentResponse) String ¶
func (m AccessibleCompartmentResponse) String() string
type AssociationAuthorizationRequest ¶
type AssociationAuthorizationRequest struct {
// The list of authorization requests.
Requests []AuthorizationRequest `mandatory:"true" json:"requests"`
}
AssociationAuthorizationRequest The representation of AssociationAuthorizationRequest
func (AssociationAuthorizationRequest) String ¶
func (m AssociationAuthorizationRequest) String() string
type AuthServiceUser ¶
type AuthServiceUser struct {
// The id of the compartment.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The id of the tenant.
TenantId *string `mandatory:"true" json:"tenantId"`
// The user's Oracle ID (OCID).
Id *string `mandatory:"true" json:"id"`
// The name of the user.
Name *string `mandatory:"true" json:"name"`
// The display name of the user.
DisplayName *string `mandatory:"true" json:"displayName"`
}
AuthServiceUser The representation of AuthServiceUser
func (AuthServiceUser) String ¶
func (m AuthServiceUser) String() string
type AuthenticateClientDetails ¶
type AuthenticateClientDetails struct {
// The signed headers of the original caller's request.
RequestHeaders map[string][]string `mandatory:"true" json:"requestHeaders"`
}
AuthenticateClientDetails The representation of AuthenticateClientDetails
func (AuthenticateClientDetails) String ¶
func (m AuthenticateClientDetails) String() string
type AuthenticateClientResult ¶
type AuthenticateClientResult struct {
// The original caller's resolved principal object if the authentication succeeds, null otherwise.
Principal *Principal `mandatory:"false" json:"principal"`
// If the authentication fails for the original caller (not failing authentication of the calling service, in which case we return 401), we return a 200, but with null principal and an error message
ErrorMessage *string `mandatory:"false" json:"errorMessage"`
}
AuthenticateClientResult The representation of AuthenticateClientResult
func (AuthenticateClientResult) String ¶
func (m AuthenticateClientResult) String() string
type AuthenticateUserResult ¶
type AuthenticateUserResult struct {
// The tenant name.
TenantInput *string `mandatory:"true" json:"tenantInput"`
// The user name.
UserInput *string `mandatory:"true" json:"userInput"`
}
AuthenticateUserResult See ValidAuthenticateUserResult, BadUserStateAuthenticateUserResult, UserNotFoundAuthenticateUserResult, TenantNotFoundAuthenticateUserResult
func (AuthenticateUserResult) String ¶
func (m AuthenticateUserResult) String() string
type AuthenticationPolicy ¶
type AuthenticationPolicy struct {
// Password policy.
PasswordPolicy *PasswordPolicy `mandatory:"false" json:"passwordPolicy"`
// Compartment OCID.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
}
AuthenticationPolicy Authentication policy, currently set for the given compartment
func (AuthenticationPolicy) String ¶
func (m AuthenticationPolicy) String() string
type AuthenticationPrincipal ¶
type AuthenticationPrincipal struct {
// The tenancy object.
Tenant *Tenant `mandatory:"true" json:"tenant"`
// The user object.
User *User `mandatory:"true" json:"user"`
}
AuthenticationPrincipal The representation of AuthenticationPrincipal
func (AuthenticationPrincipal) String ¶
func (m AuthenticationPrincipal) String() string
type AuthenticationRequest ¶
type AuthenticationRequest struct {
// The user name
UserName *string `mandatory:"true" json:"userName"`
// The password
Password *string `mandatory:"true" json:"password"`
// The name of the tenancy
TenantName *string `mandatory:"true" json:"tenantName"`
}
AuthenticationRequest The representation of AuthenticationRequest
func (AuthenticationRequest) String ¶
func (m AuthenticationRequest) String() string
type AuthorizationRequest ¶
type AuthorizationRequest struct {
// The id of this request. It is a GUID.
RequestId *string `mandatory:"true" json:"requestId"`
// The user principal object
UserPrincipal *Principal `mandatory:"true" json:"userPrincipal"`
// The service principal object for service to service calls.
SvcPrincipal *Principal `mandatory:"true" json:"svcPrincipal"`
// The name of the service that is making this authorization request
ServiceName *string `mandatory:"true" json:"serviceName"`
// A set of permission contexts
Context []PermissionContext `mandatory:"true" json:"context"`
// The hash of cached policy on the caller service side. If this is different than what Identity has, it will
// send the most recent policy statements.
PolicyHash *string `mandatory:"true" json:"policyHash"`
}
AuthorizationRequest The representation of AuthorizationRequest
func (AuthorizationRequest) String ¶
func (m AuthorizationRequest) String() string
type BadUserStateAuthenticateUserResult ¶
type BadUserStateAuthenticateUserResult struct {
// The tenant name.
TenantInput *string `mandatory:"true" json:"tenantInput"`
// The user name.
UserInput *string `mandatory:"true" json:"userInput"`
// The resolved tenant id.
ResolvedTenantId *string `mandatory:"true" json:"resolvedTenantId"`
// The resolved user id.
ResolvedUserId *string `mandatory:"true" json:"resolvedUserId"`
// The bad user state.
UserState BadUserStateAuthenticateUserResultUserStateEnum `mandatory:"true" json:"userState"`
}
BadUserStateAuthenticateUserResult The representation of BadUserStateAuthenticateUserResult
func (BadUserStateAuthenticateUserResult) String ¶
func (m BadUserStateAuthenticateUserResult) String() string
type BadUserStateAuthenticateUserResultUserStateEnum ¶
type BadUserStateAuthenticateUserResultUserStateEnum string
BadUserStateAuthenticateUserResultUserStateEnum Enum with underlying type: string
const ( BadUserStateAuthenticateUserResultUserStateUserBlocked BadUserStateAuthenticateUserResultUserStateEnum = "USER_BLOCKED" BadUserStateAuthenticateUserResultUserStateUserDisabled BadUserStateAuthenticateUserResultUserStateEnum = "USER_DISABLED" BadUserStateAuthenticateUserResultUserStateOneTimePasswordExpired BadUserStateAuthenticateUserResultUserStateEnum = "ONE_TIME_PASSWORD_EXPIRED" BadUserStateAuthenticateUserResultUserStatePasswordInvalid BadUserStateAuthenticateUserResultUserStateEnum = "PASSWORD_INVALID" )
Set of constants representing the allowable values for BadUserStateAuthenticateUserResultUserStateEnum
func GetBadUserStateAuthenticateUserResultUserStateEnumValues ¶
func GetBadUserStateAuthenticateUserResultUserStateEnumValues() []BadUserStateAuthenticateUserResultUserStateEnum
GetBadUserStateAuthenticateUserResultUserStateEnumValues Enumerates the set of values for BadUserStateAuthenticateUserResultUserStateEnum
type Claim ¶
type Claim struct {
// The key of the claim.
Key *string `mandatory:"true" json:"key"`
// The value of the claim.
Value *string `mandatory:"true" json:"value"`
// The issuer of the claim.
Issuer *string `mandatory:"false" json:"issuer"`
}
Claim The representation of Claim
type ClientCredentialsResponse ¶
type ClientCredentialsResponse struct {
// The access token.
AccessToken *string `mandatory:"true" json:"access_token"`
// The token type.
TokenType *string `mandatory:"true" json:"token_type"`
// The amount of time until the token expires.
ExpiresIn *string `mandatory:"true" json:"expires_in"`
}
ClientCredentialsResponse The representation of ClientCredentialsResponse
func (ClientCredentialsResponse) String ¶
func (m ClientCredentialsResponse) String() string
type CommonPrincipal ¶
type CommonPrincipal struct {
// The tenant.
Tenant *Tenant `mandatory:"true" json:"tenant"`
// The user.
User *User `mandatory:"true" json:"user"`
}
CommonPrincipal The representation of CommonPrincipal
func (CommonPrincipal) String ¶
func (m CommonPrincipal) String() string
type Compartment ¶
type Compartment struct {
// The id of the compartment.
Id *string `mandatory:"true" json:"id"`
// The name of the compartment.
Name *string `mandatory:"true" json:"name"`
// The display name of the compartment.
DisplayName *string `mandatory:"true" json:"displayName"`
// The full name of the compartment.
FullName *string `mandatory:"true" json:"fullName"`
// The id of the parent compartment.
ParentCompartmentId *string `mandatory:"true" json:"parentCompartmentId"`
// The status of the compartment.
Status *EntityStatus `mandatory:"true" json:"status"`
// The extended properties.
PropertyMap map[string]string `mandatory:"true" json:"propertyMap"`
}
Compartment The representation of Compartment
func (Compartment) String ¶
func (m Compartment) String() string
type CompartmentMetadata ¶
type CompartmentMetadata struct {
// The compartment id.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The access level.
AccessLevel CompartmentMetadataAccessLevelEnum `mandatory:"true" json:"accessLevel"`
}
CompartmentMetadata The representation of CompartmentMetadata
func (CompartmentMetadata) String ¶
func (m CompartmentMetadata) String() string
type CompartmentMetadataAccessLevelEnum ¶
type CompartmentMetadataAccessLevelEnum string
CompartmentMetadataAccessLevelEnum Enum with underlying type: string
const ( CompartmentMetadataAccessLevelAccessible CompartmentMetadataAccessLevelEnum = "accessible" CompartmentMetadataAccessLevelVisible CompartmentMetadataAccessLevelEnum = "visible" CompartmentMetadataAccessLevelInaccessible CompartmentMetadataAccessLevelEnum = "inaccessible" )
Set of constants representing the allowable values for CompartmentMetadataAccessLevelEnum
func GetCompartmentMetadataAccessLevelEnumValues ¶
func GetCompartmentMetadataAccessLevelEnumValues() []CompartmentMetadataAccessLevelEnum
GetCompartmentMetadataAccessLevelEnumValues Enumerates the set of values for CompartmentMetadataAccessLevelEnum
type ContextVariable ¶
type ContextVariable struct {
// The name of the variable.
Name *string `mandatory:"true" json:"name"`
// The value of the variable.
Value *string `mandatory:"true" json:"value"`
// The type of the variable.
Type ContextVariableTypeEnum `mandatory:"true" json:"type"`
}
ContextVariable The representation of ContextVariable
func (ContextVariable) String ¶
func (m ContextVariable) String() string
type ContextVariableTypeEnum ¶
type ContextVariableTypeEnum string
ContextVariableTypeEnum Enum with underlying type: string
const ( ContextVariableTypeString ContextVariableTypeEnum = "STRING" ContextVariableTypeNumber ContextVariableTypeEnum = "NUMBER" ContextVariableTypeEntity ContextVariableTypeEnum = "ENTITY" ContextVariableTypeBoolean ContextVariableTypeEnum = "BOOLEAN" ContextVariableTypeList ContextVariableTypeEnum = "LIST" )
Set of constants representing the allowable values for ContextVariableTypeEnum
func GetContextVariableTypeEnumValues ¶
func GetContextVariableTypeEnumValues() []ContextVariableTypeEnum
GetContextVariableTypeEnumValues Enumerates the set of values for ContextVariableTypeEnum
type CostTrackingTag ¶
type CostTrackingTag struct {
// The tag namespace id.
TagNamespaceId *string `mandatory:"true" json:"Tag_Namespace_Id"`
// The tag namespace name.
TagNamespaceName *string `mandatory:"true" json:"Tag_Namespace_Name"`
// The tag definition id.
TagDefinitionId *string `mandatory:"true" json:"Tag_Definition_Id"`
// The tag definition name.
TagDefinitionName *string `mandatory:"true" json:"Tag_Definition_Name"`
}
CostTrackingTag The representation of CostTrackingTag
func (CostTrackingTag) String ¶
func (m CostTrackingTag) String() string
type CredentialAuthenticatorInfo ¶
type CredentialAuthenticatorInfo struct {
// The raw credential.
RawCredential *string `mandatory:"true" json:"rawCredential"`
// The id of the user.
UserId *string `mandatory:"true" json:"userId"`
// The id of the tenant.
TenantId *string `mandatory:"true" json:"tenantId"`
// The name of the user.
UserName *string `mandatory:"true" json:"userName"`
// The name of the tenant.
TenantName *string `mandatory:"true" json:"tenantName"`
// The credential identifier.
CredentialIdentifier *string `mandatory:"true" json:"credentialIdentifier"`
// The credential list.
CredentialList []string `mandatory:"true" json:"credentialList"`
// The name of the service that is making this authorization request.
Service *string `mandatory:"true" json:"service"`
// The id of the client.
ClientId *string `mandatory:"true" json:"clientId"`
}
CredentialAuthenticatorInfo The representation of CredentialAuthenticatorInfo
func (CredentialAuthenticatorInfo) String ¶
func (m CredentialAuthenticatorInfo) String() string
type DataplaneClient ¶
type DataplaneClient struct {
common.BaseClient
// contains filtered or unexported fields
}
DataplaneClient a client for Dataplane
func NewDataplaneClientWithConfigurationProvider ¶
func NewDataplaneClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DataplaneClient, err error)
NewDataplaneClientWithConfigurationProvider Creates a new default Dataplane client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDataplaneClientWithOboToken ¶
func NewDataplaneClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DataplaneClient, err error)
NewDataplaneClientWithOboToken Creates a new default Dataplane client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (*DataplaneClient) ConfigurationProvider ¶
func (client *DataplaneClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DataplaneClient) GenerateScopedAccessToken ¶
func (client DataplaneClient) GenerateScopedAccessToken(ctx context.Context, request GenerateScopedAccessTokenRequest) (response GenerateScopedAccessTokenResponse, err error)
GenerateScopedAccessToken Based on the calling principal and the input payload, derive the claims and create a security token.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identitydataplane/GenerateScopedAccessToken.go.html to see an example of how to use GenerateScopedAccessToken API.
func (*DataplaneClient) SetRegion ¶
func (client *DataplaneClient) SetRegion(region string)
SetRegion overrides the region of this client.
type DerivedKeyResponse ¶
type DerivedKeyResponse struct {
// The derived key.
SigningKey *string `mandatory:"true" json:"signingKey"`
// The principal.
Principal *CommonPrincipal `mandatory:"true" json:"principal"`
}
DerivedKeyResponse The representation of DerivedKeyResponse
func (DerivedKeyResponse) String ¶
func (m DerivedKeyResponse) String() string
type EntityStatus ¶
type EntityStatus struct {
// The entity status.
Status *string `mandatory:"true" json:"status"`
// A bit mask showing the reason why the entity is inactive:
// - bit 0: ACTIVE
// - bit 1: SUSPENDED
// - bit 2: DISABLED
// - bit 3: BLOCKED
// - bit 4: LOCKED
InactiveBitMask *int64 `mandatory:"true" json:"inactiveBitMask"`
}
EntityStatus The representation of EntityStatus
func (EntityStatus) String ¶
func (m EntityStatus) String() string
type FilterGroupMembershipDetails ¶
type FilterGroupMembershipDetails struct {
// A resolved principal object
Principal *Principal `mandatory:"true" json:"principal"`
// An array of group or dynamic group Ids the resolved principal potentially belongs to.
GroupIds []string `mandatory:"true" json:"groupIds"`
}
FilterGroupMembershipDetails The representation of FilterGroupMembershipDetails
func (FilterGroupMembershipDetails) String ¶
func (m FilterGroupMembershipDetails) String() string
type FilterGroupMembershipResult ¶
type FilterGroupMembershipResult struct {
// Return passed-in resolved principal object
Principal *Principal `mandatory:"true" json:"principal"`
// An array of group or dynamic group Ids which present the intersection between the passed-in group/dynamic-group and the actual group/dynamic-group the resovled principal belongs to.
GroupIds []string `mandatory:"true" json:"groupIds"`
}
FilterGroupMembershipResult The representation of FilterGroupMembershipResult
func (FilterGroupMembershipResult) String ¶
func (m FilterGroupMembershipResult) String() string
type GenerateScopedAccessTokenDetails ¶
type GenerateScopedAccessTokenDetails struct {
// Scope definition for the scoped access token
Scope *string `mandatory:"true" json:"scope"`
// A temporary public key, owned by the service. The service also owns the corresponding private key. This public
// key will by put inside the security token by the auth service after successful validation of the certificate.
PublicKey *string `mandatory:"true" json:"publicKey"`
}
GenerateScopedAccessTokenDetails The representation of GenerateScopedAccessTokenDetails
func (GenerateScopedAccessTokenDetails) String ¶
func (m GenerateScopedAccessTokenDetails) String() string
type GenerateScopedAccessTokenRequest ¶
type GenerateScopedAccessTokenRequest struct {
// Scoped Access token request
GenerateScopedAccessTokenDetails `contributesTo:"body"`
// Unique Oracle-assigned identifier for the request.
// If you need to contact Oracle about a particular request, please provide the request ID.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
GenerateScopedAccessTokenRequest wrapper for the GenerateScopedAccessToken operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identitydataplane/GenerateScopedAccessToken.go.html to see an example of how to use GenerateScopedAccessTokenRequest.
func (GenerateScopedAccessTokenRequest) BinaryRequestBody ¶
func (request GenerateScopedAccessTokenRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GenerateScopedAccessTokenRequest) HTTPRequest ¶
func (request GenerateScopedAccessTokenRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GenerateScopedAccessTokenRequest) RetryPolicy ¶
func (request GenerateScopedAccessTokenRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GenerateScopedAccessTokenRequest) String ¶
func (request GenerateScopedAccessTokenRequest) String() string
type GenerateScopedAccessTokenResponse ¶
type GenerateScopedAccessTokenResponse struct {
// The underlying http response
RawResponse *http.Response
// The SecurityToken instance
SecurityToken `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
// particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}
GenerateScopedAccessTokenResponse wrapper for the GenerateScopedAccessToken operation
func (GenerateScopedAccessTokenResponse) HTTPResponse ¶
func (response GenerateScopedAccessTokenResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GenerateScopedAccessTokenResponse) String ¶
func (response GenerateScopedAccessTokenResponse) String() string
type IdentityProvider ¶
type IdentityProvider struct {
// The id of the provider.
Id *string `mandatory:"true" json:"id"`
// The name of the provider.
Name *string `mandatory:"true" json:"name"`
// The name of the tenant.
TenantName *string `mandatory:"true" json:"tenantName"`
// The id of the tenant.
TenantId *string `mandatory:"true" json:"tenantId"`
// The SAML endpoint where user will be redirected.
RedirectUri *string `mandatory:"true" json:"redirectUri"`
// The signing certificate of the provider.
SigningCertificate *string `mandatory:"true" json:"signingCertificate"`
// The type of the provider.
Protocol IdentityProviderProtocolEnum `mandatory:"true" json:"protocol"`
// The id of the service provider entity.
ServiceProviderEntityId *string `mandatory:"true" json:"serviceProviderEntityId"`
// Whether to force authentication.
ForceAuthentication *bool `mandatory:"true" json:"forceAuthentication"`
// Authentication context class refs.
AuthnContextClassRefs []string `mandatory:"true" json:"authnContextClassRefs"`
}
IdentityProvider The representation of IdentityProvider
func (IdentityProvider) String ¶
func (m IdentityProvider) String() string
type IdentityProviderProtocolEnum ¶
type IdentityProviderProtocolEnum string
IdentityProviderProtocolEnum Enum with underlying type: string
const (
IdentityProviderProtocolSaml2 IdentityProviderProtocolEnum = "SAML2"
)
Set of constants representing the allowable values for IdentityProviderProtocolEnum
func GetIdentityProviderProtocolEnumValues ¶
func GetIdentityProviderProtocolEnumValues() []IdentityProviderProtocolEnum
GetIdentityProviderProtocolEnumValues Enumerates the set of values for IdentityProviderProtocolEnum
type Jwk ¶
type Jwk struct {
// The modulus.
N *string `mandatory:"true" json:"n"`
// The exponent.
E *string `mandatory:"true" json:"e"`
// The key id.
Kid *string `mandatory:"true" json:"kid"`
// The key use.
Use *string `mandatory:"true" json:"use"`
// The algorithm.
Alg *string `mandatory:"true" json:"alg"`
// The key type.
Kty *string `mandatory:"true" json:"kty"`
}
Jwk The representation of Jwk
type OnBehalfOfRequest ¶
type OnBehalfOfRequest struct {
// The signed headers of the customer call.
RequestHeaders map[string][]string `mandatory:"true" json:"requestHeaders"`
// The name of the target service.
TargetServiceName *string `mandatory:"true" json:"targetServiceName"`
// If you have an obo token already, exchange that for a new obo token.
OboToken *string `mandatory:"false" json:"oboToken"`
// A duration for which the obo token is requested to be valid.
Expiration *string `mandatory:"false" json:"expiration"`
}
OnBehalfOfRequest The representation of OnBehalfOfRequest
func (OnBehalfOfRequest) String ¶
func (m OnBehalfOfRequest) String() string
type PasswordPolicy ¶
type PasswordPolicy struct {
// Minimum password length required.
MinimumPasswordLength *int `mandatory:"false" json:"minimumPasswordLength"`
// At least one uppercase character required.
IsUppercaseCharactersRequired *bool `mandatory:"false" json:"isUppercaseCharactersRequired"`
// At least one lower case character required.
IsLowercaseCharactersRequired *bool `mandatory:"false" json:"isLowercaseCharactersRequired"`
// At least one numeric character required.
IsNumericCharactersRequired *bool `mandatory:"false" json:"isNumericCharactersRequired"`
// At least one special character required.
IsSpecialCharactersRequired *bool `mandatory:"false" json:"isSpecialCharactersRequired"`
// User name is allowed to be part of the password.
IsUsernameContainmentAllowed *bool `mandatory:"false" json:"isUsernameContainmentAllowed"`
}
PasswordPolicy Password policy, currently set for the given compartment.
func (PasswordPolicy) String ¶
func (m PasswordPolicy) String() string
type PasswordResetAuthenticationRequest ¶
type PasswordResetAuthenticationRequest struct {
// The id of the user
UserId *string `mandatory:"true" json:"userId"`
// The password reset token
PasswordResetToken *string `mandatory:"true" json:"passwordResetToken"`
}
PasswordResetAuthenticationRequest The representation of PasswordResetAuthenticationRequest
func (PasswordResetAuthenticationRequest) String ¶
func (m PasswordResetAuthenticationRequest) String() string
type Permission ¶
type Permission struct {
// The name of the permission.
P *string `mandatory:"true" json:"p"`
}
Permission The representation of Permission
func (Permission) String ¶
func (m Permission) String() string
type PermissionContext ¶
type PermissionContext struct {
// The permission context.
Permission *Permission `mandatory:"true" json:"permission"`
// The set of variables in this permission context.
Variables []ContextVariable `mandatory:"true" json:"variables"`
}
PermissionContext The representation of PermissionContext
func (PermissionContext) String ¶
func (m PermissionContext) String() string
type Principal ¶
type Principal struct {
// The user's OCID.
SubjectId *string `mandatory:"true" json:"subjectId"`
// The tenancy OCID.
TenantId *string `mandatory:"true" json:"tenantId"`
// The set of claims for this principal.
Claims []Claim `mandatory:"true" json:"claims"`
}
Principal The representation of Principal
type RefreshRequest ¶
type RefreshRequest struct {
// The current security token that is to be renewed.
CurrentToken *string `mandatory:"true" json:"currentToken"`
// An optional new public for the new token. If not supplied, currentToken's public key will be used.
NewPublicKey *string `mandatory:"false" json:"newPublicKey"`
}
RefreshRequest The representation of RefreshRequest
func (RefreshRequest) String ¶
func (m RefreshRequest) String() string
type ResourcePrincipalSessionTokenRequest ¶
type ResourcePrincipalSessionTokenRequest struct {
// The resource principal token.
ResourcePrincipalToken *string `mandatory:"true" json:"resourcePrincipalToken"`
// The service principal session token.
ServicePrincipalSessionToken *string `mandatory:"true" json:"servicePrincipalSessionToken"`
// The session public key.
SessionPublicKey *string `mandatory:"true" json:"sessionPublicKey"`
}
ResourcePrincipalSessionTokenRequest The representation of ResourcePrincipalSessionTokenRequest
func (ResourcePrincipalSessionTokenRequest) String ¶
func (m ResourcePrincipalSessionTokenRequest) String() string
type SecurityToken ¶
type SecurityToken struct {
// The security token, signed by auth service
Token *string `mandatory:"true" json:"token"`
}
SecurityToken The representation of SecurityToken
func (SecurityToken) String ¶
func (m SecurityToken) String() string
type Tenant ¶
type Tenant struct {
// The tenant's Oracle ID (OCID).
Id *string `mandatory:"true" json:"id"`
// The name of the tenancy.
Name *string `mandatory:"true" json:"name"`
// The service namespace.
ServiceNamespace *string `mandatory:"false" json:"serviceNamespace"`
}
Tenant The representation of Tenant
type TenantNotFoundAuthenticateUserResult ¶
type TenantNotFoundAuthenticateUserResult struct {
// The tenant name.
TenantInput *string `mandatory:"true" json:"tenantInput"`
// The user name.
UserInput *string `mandatory:"true" json:"userInput"`
}
TenantNotFoundAuthenticateUserResult The representation of TenantNotFoundAuthenticateUserResult
func (TenantNotFoundAuthenticateUserResult) String ¶
func (m TenantNotFoundAuthenticateUserResult) String() string
type ThickAuthorizationResponse ¶
type ThickAuthorizationResponse struct {
// The policy string related to the request
Policy *string `mandatory:"true" json:"policy"`
// The duration of how long this policy should be cached. Note that the type is of type java.time.Duration, not
// string.
PolicyCacheDuration *string `mandatory:"true" json:"policyCacheDuration"`
// The policy string related to the request.
Groups []string `mandatory:"true" json:"groups"`
// The duration of how long the user's group membership should be cached. Note that the type is of type
// java.time.Duration, not string.
GroupMembershipCacheDuration *string `mandatory:"true" json:"groupMembershipCacheDuration"`
// If set to true, the SDK should clear the caches.
FlushAllCaches *bool `mandatory:"false" json:"flushAllCaches"`
}
ThickAuthorizationResponse The representation of ThickAuthorizationResponse
func (ThickAuthorizationResponse) String ¶
func (m ThickAuthorizationResponse) String() string
type ThinAssociationAuthorizationResponse ¶
type ThinAssociationAuthorizationResponse struct {
// The authorization responses.
Responses []ThinAuthorizationResponse `mandatory:"true" json:"responses"`
// The association verification result.
AssociationResult ThinAssociationAuthorizationResponseAssociationResultEnum `mandatory:"true" json:"associationResult"`
// The decision cache duration.
DecisionCacheDuration *string `mandatory:"false" json:"decisionCacheDuration"`
}
ThinAssociationAuthorizationResponse The representation of ThinAssociationAuthorizationResponse
func (ThinAssociationAuthorizationResponse) String ¶
func (m ThinAssociationAuthorizationResponse) String() string
type ThinAssociationAuthorizationResponseAssociationResultEnum ¶
type ThinAssociationAuthorizationResponseAssociationResultEnum string
ThinAssociationAuthorizationResponseAssociationResultEnum Enum with underlying type: string
const ( ThinAssociationAuthorizationResponseAssociationResultFailUnknown ThinAssociationAuthorizationResponseAssociationResultEnum = "FAIL_UNKNOWN" ThinAssociationAuthorizationResponseAssociationResultFailBadRequest ThinAssociationAuthorizationResponseAssociationResultEnum = "FAIL_BAD_REQUEST" ThinAssociationAuthorizationResponseAssociationResultFailMissingEndorse ThinAssociationAuthorizationResponseAssociationResultEnum = "FAIL_MISSING_ENDORSE" ThinAssociationAuthorizationResponseAssociationResultFailMissingAdmit ThinAssociationAuthorizationResponseAssociationResultEnum = "FAIL_MISSING_ADMIT" ThinAssociationAuthorizationResponseAssociationResultSuccess ThinAssociationAuthorizationResponseAssociationResultEnum = "SUCCESS" )
Set of constants representing the allowable values for ThinAssociationAuthorizationResponseAssociationResultEnum
func GetThinAssociationAuthorizationResponseAssociationResultEnumValues ¶
func GetThinAssociationAuthorizationResponseAssociationResultEnumValues() []ThinAssociationAuthorizationResponseAssociationResultEnum
GetThinAssociationAuthorizationResponseAssociationResultEnumValues Enumerates the set of values for ThinAssociationAuthorizationResponseAssociationResultEnum
type ThinAuthorizationResponse ¶
type ThinAuthorizationResponse struct {
// The policy string related to the request.
AuthorizationRequest *AuthorizationRequest `mandatory:"true" json:"authorizationRequest"`
// The duration of how long this decision should be cached. Note that the type is of type java.time.Duration, not
// string.
DecisionCacheDuration *string `mandatory:"true" json:"decisionCacheDuration"`
}
ThinAuthorizationResponse The representation of ThinAuthorizationResponse
func (ThinAuthorizationResponse) String ¶
func (m ThinAuthorizationResponse) String() string
type User ¶
type User struct {
// The user's Oracle ID (OCID).
Id *string `mandatory:"true" json:"id"`
// The name of the user.
Name *string `mandatory:"true" json:"name"`
// If the provided password is a one-time password.
IsOTP *bool `mandatory:"true" json:"isOTP"`
// If mfa is activated.
IsMfaActivated *bool `mandatory:"true" json:"isMfaActivated"`
// If the user has been mfa verified.
IsMfaVerified *bool `mandatory:"true" json:"isMfaVerified"`
}
User The representation of User
type UserNotFoundAuthenticateUserResult ¶
type UserNotFoundAuthenticateUserResult struct {
// The tenant name.
TenantInput *string `mandatory:"true" json:"tenantInput"`
// The user name.
UserInput *string `mandatory:"true" json:"userInput"`
// The resolved tenant id.
ResolvedTenantId *string `mandatory:"true" json:"resolvedTenantId"`
}
UserNotFoundAuthenticateUserResult The representation of UserNotFoundAuthenticateUserResult
func (UserNotFoundAuthenticateUserResult) String ¶
func (m UserNotFoundAuthenticateUserResult) String() string
type ValidAuthenticateUserResult ¶
type ValidAuthenticateUserResult struct {
// The tenant name.
TenantInput *string `mandatory:"true" json:"tenantInput"`
// The user name.
UserInput *string `mandatory:"true" json:"userInput"`
// The resolved principal.
ResolvedPrincipal *AuthenticationPrincipal `mandatory:"true" json:"resolvedPrincipal"`
}
ValidAuthenticateUserResult The representation of ValidAuthenticateUserResult
func (ValidAuthenticateUserResult) String ¶
func (m ValidAuthenticateUserResult) String() string
type X509FederationRequest ¶
type X509FederationRequest struct {
// The x509 certificate of the service instance, issued by his CA.
Certificate *string `mandatory:"true" json:"certificate"`
// A temporary public key, owned by the service. The service also owns the corresponding private key. This public
// key will by put inside the security token by the auth service after successful validation of the certificate.
PublicKey *string `mandatory:"true" json:"publicKey"`
// An array of intermediate certificates to form the chain from the leaf certificate to the root CA. If auth
// service already has the intermediate certificate(s), then this is not required.
IntermediateCertificates []string `mandatory:"false" json:"intermediateCertificates"`
}
X509FederationRequest The representation of X509FederationRequest
func (X509FederationRequest) String ¶
func (m X509FederationRequest) String() string
Source Files
¶
- accessible_compartment_request.go
- accessible_compartment_response.go
- association_authorization_request.go
- auth_service_user.go
- authenticate_client_details.go
- authenticate_client_result.go
- authenticate_user_result.go
- authentication_policy.go
- authentication_principal.go
- authentication_request.go
- authorization_request.go
- bad_user_state_authenticate_user_result.go
- claim.go
- client_credentials_response.go
- common_principal.go
- compartment.go
- compartment_metadata.go
- context_variable.go
- cost_tracking_tag.go
- credential_authenticator_info.go
- derived_key_response.go
- entity_status.go
- filter_group_membership_details.go
- filter_group_membership_result.go
- generate_scoped_access_token_details.go
- generate_scoped_access_token_request_response.go
- identity_provider.go
- identitydataplane_dataplane_client.go
- jwk.go
- on_behalf_of_request.go
- password_policy.go
- password_reset_authentication_request.go
- permission.go
- permission_context.go
- principal.go
- refresh_request.go
- resource_principal_session_token_request.go
- security_token.go
- tenant.go
- tenant_not_found_authenticate_user_result.go
- thick_authorization_response.go
- thin_association_authorization_response.go
- thin_authorization_response.go
- user.go
- user_not_found_authenticate_user_result.go
- valid_authenticate_user_result.go
- x509_federation_request.go