identitydataplane

package
v65.67.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBadUserStateAuthenticateUserResultUserStateEnumStringValues

func GetBadUserStateAuthenticateUserResultUserStateEnumStringValues() []string

GetBadUserStateAuthenticateUserResultUserStateEnumStringValues Enumerates the set of values in String for BadUserStateAuthenticateUserResultUserStateEnum

func GetCompartmentMetadataAccessLevelEnumStringValues

func GetCompartmentMetadataAccessLevelEnumStringValues() []string

GetCompartmentMetadataAccessLevelEnumStringValues Enumerates the set of values in String for CompartmentMetadataAccessLevelEnum

func GetContextVariableTypeEnumStringValues

func GetContextVariableTypeEnumStringValues() []string

GetContextVariableTypeEnumStringValues Enumerates the set of values in String for ContextVariableTypeEnum

func GetIdentityProviderProtocolEnumStringValues

func GetIdentityProviderProtocolEnumStringValues() []string

GetIdentityProviderProtocolEnumStringValues Enumerates the set of values in String for IdentityProviderProtocolEnum

func GetThinAssociationAuthorizationResponseAssociationResultEnumStringValues

func GetThinAssociationAuthorizationResponseAssociationResultEnumStringValues() []string

GetThinAssociationAuthorizationResponseAssociationResultEnumStringValues Enumerates the set of values in String for ThinAssociationAuthorizationResponseAssociationResultEnum

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 (AccessibleCompartmentRequest) ValidateEnumValue

func (m AccessibleCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AccessibleCompartmentResponse

type AccessibleCompartmentResponse struct {

	// The compartments metadata.
	CompartmentsMetadata []CompartmentMetadata `mandatory:"true" json:"compartmentsMetadata"`
}

AccessibleCompartmentResponse The representation of AccessibleCompartmentResponse

func (AccessibleCompartmentResponse) String

func (AccessibleCompartmentResponse) ValidateEnumValue

func (m AccessibleCompartmentResponse) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (AssociationAuthorizationRequest) ValidateEnumValue

func (m AssociationAuthorizationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthServiceUser) ValidateEnumValue

func (m AuthServiceUser) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthenticateClientDetails) ValidateEnumValue

func (m AuthenticateClientDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthenticateClientResult) ValidateEnumValue

func (m AuthenticateClientResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthenticateUserResult) ValidateEnumValue

func (m AuthenticateUserResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthenticationPolicy) ValidateEnumValue

func (m AuthenticationPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthenticationPrincipal) ValidateEnumValue

func (m AuthenticationPrincipal) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthenticationRequest) ValidateEnumValue

func (m AuthenticationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (AuthorizationRequest) ValidateEnumValue

func (m AuthorizationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (BadUserStateAuthenticateUserResult) ValidateEnumValue

func (m BadUserStateAuthenticateUserResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func GetMappingBadUserStateAuthenticateUserResultUserStateEnum

func GetMappingBadUserStateAuthenticateUserResultUserStateEnum(val string) (BadUserStateAuthenticateUserResultUserStateEnum, bool)

GetMappingBadUserStateAuthenticateUserResultUserStateEnum performs case Insensitive comparison on enum value and return the desired enum

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

func (Claim) String

func (m Claim) String() string

func (Claim) ValidateEnumValue

func (m Claim) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (ClientCredentialsResponse) ValidateEnumValue

func (m ClientCredentialsResponse) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (CommonPrincipal) ValidateEnumValue

func (m CommonPrincipal) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (Compartment) ValidateEnumValue

func (m Compartment) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (CompartmentMetadata) ValidateEnumValue

func (m CompartmentMetadata) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func GetMappingCompartmentMetadataAccessLevelEnum

func GetMappingCompartmentMetadataAccessLevelEnum(val string) (CompartmentMetadataAccessLevelEnum, bool)

GetMappingCompartmentMetadataAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

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

func (ContextVariable) ValidateEnumValue

func (m ContextVariable) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func GetMappingContextVariableTypeEnum

func GetMappingContextVariableTypeEnum(val string) (ContextVariableTypeEnum, bool)

GetMappingContextVariableTypeEnum performs case Insensitive comparison on enum value and return the desired enum

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

func (CostTrackingTag) ValidateEnumValue

func (m CostTrackingTag) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (CredentialAuthenticatorInfo) ValidateEnumValue

func (m CredentialAuthenticatorInfo) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 generate a scoped-access token for specific resources. For example, set scope to urn:oracle:db::id::<compartment-id> for access to a database in a compartment.

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) GenerateUserSecurityToken added in v65.44.0

func (client DataplaneClient) GenerateUserSecurityToken(ctx context.Context, request GenerateUserSecurityTokenRequest) (response GenerateUserSecurityTokenResponse, err error)

GenerateUserSecurityToken Exchanges a valid user token-based signature (API key and UPST) for a short-lived UPST of the authenticated user principal. When not specified, the user session duration is set to a default of 60 minutes in all realms. Resulting UPSTs are refreshable while the user session has not expired.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identitydataplane/GenerateUserSecurityToken.go.html to see an example of how to use GenerateUserSecurityToken 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

func (DerivedKeyResponse) ValidateEnumValue

func (m DerivedKeyResponse) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (EntityStatus) ValidateEnumValue

func (m EntityStatus) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (FilterGroupMembershipDetails) ValidateEnumValue

func (m FilterGroupMembershipDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (FilterGroupMembershipResult) ValidateEnumValue

func (m FilterGroupMembershipResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 be 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 (GenerateScopedAccessTokenDetails) ValidateEnumValue

func (m GenerateScopedAccessTokenDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (GenerateScopedAccessTokenRequest) ValidateEnumValue

func (request GenerateScopedAccessTokenRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 GenerateUserSecurityTokenDetails added in v65.44.0

type GenerateUserSecurityTokenDetails struct {

	// The user-owned public key in PEM format that corresponds to the RSA key pair used for signing requests.
	// The user also owns the corresponding private key. This public key will be put inside the user
	// security token by the auth service after successful validation of the request.
	PublicKey *string `mandatory:"true" json:"publicKey"`

	// User session expiration in minutes to which the requested user principal session token (UPST) is bounded.
	// Valid values are from 5 to 60 for all realms.
	SessionExpirationInMinutes *int `mandatory:"false" json:"sessionExpirationInMinutes"`
}

GenerateUserSecurityTokenDetails Request parameters in body for obtaining a user principal session token (UPST) for self.

func (GenerateUserSecurityTokenDetails) String added in v65.44.0

func (GenerateUserSecurityTokenDetails) ValidateEnumValue added in v65.44.0

func (m GenerateUserSecurityTokenDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateUserSecurityTokenRequest added in v65.44.0

type GenerateUserSecurityTokenRequest struct {

	// The key-value pair object storing the token exchange request parameters required to obtain a UPST for self.
	GenerateUserSecurityTokenDetails `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
}

GenerateUserSecurityTokenRequest wrapper for the GenerateUserSecurityToken operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identitydataplane/GenerateUserSecurityToken.go.html to see an example of how to use GenerateUserSecurityTokenRequest.

func (GenerateUserSecurityTokenRequest) BinaryRequestBody added in v65.44.0

func (request GenerateUserSecurityTokenRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GenerateUserSecurityTokenRequest) HTTPRequest added in v65.44.0

func (request GenerateUserSecurityTokenRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GenerateUserSecurityTokenRequest) RetryPolicy added in v65.44.0

func (request GenerateUserSecurityTokenRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GenerateUserSecurityTokenRequest) String added in v65.44.0

func (request GenerateUserSecurityTokenRequest) String() string

func (GenerateUserSecurityTokenRequest) ValidateEnumValue added in v65.44.0

func (request GenerateUserSecurityTokenRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenerateUserSecurityTokenResponse added in v65.44.0

type GenerateUserSecurityTokenResponse 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"`
}

GenerateUserSecurityTokenResponse wrapper for the GenerateUserSecurityToken operation

func (GenerateUserSecurityTokenResponse) HTTPResponse added in v65.44.0

func (response GenerateUserSecurityTokenResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GenerateUserSecurityTokenResponse) String added in v65.44.0

func (response GenerateUserSecurityTokenResponse) 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

func (IdentityProvider) ValidateEnumValue

func (m IdentityProvider) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func GetMappingIdentityProviderProtocolEnum

func GetMappingIdentityProviderProtocolEnum(val string) (IdentityProviderProtocolEnum, bool)

GetMappingIdentityProviderProtocolEnum performs case Insensitive comparison on enum value and return the desired enum

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

func (Jwk) String

func (m Jwk) String() string

func (Jwk) ValidateEnumValue

func (m Jwk) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (OnBehalfOfRequest) ValidateEnumValue

func (m OnBehalfOfRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (PasswordPolicy) ValidateEnumValue

func (m PasswordPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (PasswordResetAuthenticationRequest) ValidateEnumValue

func (m PasswordResetAuthenticationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (Permission) ValidateEnumValue

func (m Permission) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (PermissionContext) ValidateEnumValue

func (m PermissionContext) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (Principal) String

func (m Principal) String() string

func (Principal) ValidateEnumValue

func (m Principal) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (RefreshRequest) ValidateEnumValue

func (m RefreshRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (ResourcePrincipalSessionTokenRequest) ValidateEnumValue

func (m ResourcePrincipalSessionTokenRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (SecurityToken) ValidateEnumValue

func (m SecurityToken) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (Tenant) String

func (m Tenant) String() string

func (Tenant) ValidateEnumValue

func (m Tenant) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (TenantNotFoundAuthenticateUserResult) ValidateEnumValue

func (m TenantNotFoundAuthenticateUserResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (ThickAuthorizationResponse) ValidateEnumValue

func (m ThickAuthorizationResponse) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (ThinAssociationAuthorizationResponse) ValidateEnumValue

func (m ThinAssociationAuthorizationResponse) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 GetMappingThinAssociationAuthorizationResponseAssociationResultEnum

func GetMappingThinAssociationAuthorizationResponseAssociationResultEnum(val string) (ThinAssociationAuthorizationResponseAssociationResultEnum, bool)

GetMappingThinAssociationAuthorizationResponseAssociationResultEnum performs case Insensitive comparison on enum value and return the desired enum

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

func (ThinAuthorizationResponse) ValidateEnumValue

func (m ThinAuthorizationResponse) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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

func (User) String

func (m User) String() string

func (User) ValidateEnumValue

func (m User) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (UserNotFoundAuthenticateUserResult) ValidateEnumValue

func (m UserNotFoundAuthenticateUserResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 (ValidAuthenticateUserResult) ValidateEnumValue

func (m ValidAuthenticateUserResult) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

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 be 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

func (X509FederationRequest) ValidateEnumValue

func (m X509FederationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL