idaas_doraemon

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AuthenticateResultInfo

type AuthenticateResultInfo struct {
	UserId         string `json:"UserId" xml:"UserId"`
	CredentialId   string `json:"CredentialId" xml:"CredentialId"`
	BindHashBase64 string `json:"BindHashBase64" xml:"BindHashBase64"`
}

AuthenticateResultInfo is a nested struct in idaas_doraemon response

type AuthenticationLogContent

type AuthenticationLogContent struct {
	UserSourceIp             string `json:"UserSourceIp" xml:"UserSourceIp"`
	OperationResult          bool   `json:"OperationResult" xml:"OperationResult"`
	VerifyResult             bool   `json:"VerifyResult" xml:"VerifyResult"`
	ErrorMessage             string `json:"ErrorMessage" xml:"ErrorMessage"`
	AuthenticatorType        string `json:"AuthenticatorType" xml:"AuthenticatorType"`
	OperationAction          string `json:"OperationAction" xml:"OperationAction"`
	CredentialId             string `json:"CredentialId" xml:"CredentialId"`
	AliUid                   string `json:"AliUid" xml:"AliUid"`
	AuthenticationTime       int64  `json:"AuthenticationTime" xml:"AuthenticationTime"`
	AuthenticatorUuid        string `json:"AuthenticatorUuid" xml:"AuthenticatorUuid"`
	OperationTime            int64  `json:"OperationTime" xml:"OperationTime"`
	ChallengeBase64          string `json:"ChallengeBase64" xml:"ChallengeBase64"`
	LogTag                   string `json:"LogTag" xml:"LogTag"`
	LogParams                string `json:"LogParams" xml:"LogParams"`
	RawContext               string `json:"RawContext" xml:"RawContext"`
	UserId                   string `json:"UserId" xml:"UserId"`
	ApplicationUuid          string `json:"ApplicationUuid" xml:"ApplicationUuid"`
	UserAgent                string `json:"UserAgent" xml:"UserAgent"`
	AuthenticatorName        string `json:"AuthenticatorName" xml:"AuthenticatorName"`
	RawAuthenticationContext string `json:"RawAuthenticationContext" xml:"RawAuthenticationContext"`
	ErrorCode                string `json:"ErrorCode" xml:"ErrorCode"`
	AuthenticationAction     string `json:"AuthenticationAction" xml:"AuthenticationAction"`
	TenantId                 string `json:"TenantId" xml:"TenantId"`
	ApplicationExternalId    string `json:"ApplicationExternalId" xml:"ApplicationExternalId"`
}

AuthenticationLogContent is a nested struct in idaas_doraemon response

type AuthenticationLogContentInListAuthenticationLogs

type AuthenticationLogContentInListAuthenticationLogs struct {
	AuthenticationLogContent []AuthenticationLogContent `json:"authenticationLogContent" xml:"authenticationLogContent"`
}

AuthenticationLogContentInListAuthenticationLogs is a nested struct in idaas_doraemon response

type AuthenticationLogContentInListAuthenticatorOpsLogs

type AuthenticationLogContentInListAuthenticatorOpsLogs struct {
	AuthenticationLogContent []AuthenticationLogContent `json:"authenticationLogContent" xml:"authenticationLogContent"`
}

AuthenticationLogContentInListAuthenticatorOpsLogs is a nested struct in idaas_doraemon response

type Authenticator

type Authenticator struct {
	CustomAuthenticator string `json:"CustomAuthenticator" xml:"CustomAuthenticator"`
	LastVerifyTime      int64  `json:"LastVerifyTime" xml:"LastVerifyTime"`
	RegisterSourceIp    string `json:"RegisterSourceIp" xml:"RegisterSourceIp"`
	RegisterTime        int64  `json:"RegisterTime" xml:"RegisterTime"`
	LastVerifyUserAgent string `json:"LastVerifyUserAgent" xml:"LastVerifyUserAgent"`
	CredentialId        string `json:"CredentialId" xml:"CredentialId"`
	AuthenticatorName   string `json:"AuthenticatorName" xml:"AuthenticatorName"`
	LastVerifySourceIp  string `json:"LastVerifySourceIp" xml:"LastVerifySourceIp"`
	AuthenticatorUuid   string `json:"AuthenticatorUuid" xml:"AuthenticatorUuid"`
	Type                string `json:"Type" xml:"Type"`
}

Authenticator is a nested struct in idaas_doraemon response

type AuthenticatorInListAuthenticators

type AuthenticatorInListAuthenticators struct {
	AuthenticatorListDTO []AuthenticatorListDTO `json:"AuthenticatorListDTO" xml:"AuthenticatorListDTO"`
}

AuthenticatorInListAuthenticators is a nested struct in idaas_doraemon response

type AuthenticatorListDTO

type AuthenticatorListDTO struct {
	ApplicationExternalId string `json:"ApplicationExternalId" xml:"ApplicationExternalId"`
	AuthenticatorUuid     string `json:"AuthenticatorUuid" xml:"AuthenticatorUuid"`
	CredentialId          string `json:"CredentialId" xml:"CredentialId"`
	Type                  string `json:"Type" xml:"Type"`
	AuthenticatorName     string `json:"AuthenticatorName" xml:"AuthenticatorName"`
	RegisterTime          int64  `json:"RegisterTime" xml:"RegisterTime"`
	LastVerifyTime        int64  `json:"LastVerifyTime" xml:"LastVerifyTime"`
}

AuthenticatorListDTO is a nested struct in idaas_doraemon response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) CreateAuthenticatorRegistration

func (client *Client) CreateAuthenticatorRegistration(request *CreateAuthenticatorRegistrationRequest) (response *CreateAuthenticatorRegistrationResponse, err error)

CreateAuthenticatorRegistration invokes the idaas_doraemon.CreateAuthenticatorRegistration API synchronously

func (*Client) CreateAuthenticatorRegistrationWithCallback

func (client *Client) CreateAuthenticatorRegistrationWithCallback(request *CreateAuthenticatorRegistrationRequest, callback func(response *CreateAuthenticatorRegistrationResponse, err error)) <-chan int

CreateAuthenticatorRegistrationWithCallback invokes the idaas_doraemon.CreateAuthenticatorRegistration API asynchronously

func (*Client) CreateAuthenticatorRegistrationWithChan

func (client *Client) CreateAuthenticatorRegistrationWithChan(request *CreateAuthenticatorRegistrationRequest) (<-chan *CreateAuthenticatorRegistrationResponse, <-chan error)

CreateAuthenticatorRegistrationWithChan invokes the idaas_doraemon.CreateAuthenticatorRegistration API asynchronously

func (*Client) CreateUserAuthenticateOptions

func (client *Client) CreateUserAuthenticateOptions(request *CreateUserAuthenticateOptionsRequest) (response *CreateUserAuthenticateOptionsResponse, err error)

CreateUserAuthenticateOptions invokes the idaas_doraemon.CreateUserAuthenticateOptions API synchronously

func (*Client) CreateUserAuthenticateOptionsWithCallback

func (client *Client) CreateUserAuthenticateOptionsWithCallback(request *CreateUserAuthenticateOptionsRequest, callback func(response *CreateUserAuthenticateOptionsResponse, err error)) <-chan int

CreateUserAuthenticateOptionsWithCallback invokes the idaas_doraemon.CreateUserAuthenticateOptions API asynchronously

func (*Client) CreateUserAuthenticateOptionsWithChan

func (client *Client) CreateUserAuthenticateOptionsWithChan(request *CreateUserAuthenticateOptionsRequest) (<-chan *CreateUserAuthenticateOptionsResponse, <-chan error)

CreateUserAuthenticateOptionsWithChan invokes the idaas_doraemon.CreateUserAuthenticateOptions API asynchronously

func (*Client) DeregisterAuthenticator

func (client *Client) DeregisterAuthenticator(request *DeregisterAuthenticatorRequest) (response *DeregisterAuthenticatorResponse, err error)

DeregisterAuthenticator invokes the idaas_doraemon.DeregisterAuthenticator API synchronously

func (*Client) DeregisterAuthenticatorWithCallback

func (client *Client) DeregisterAuthenticatorWithCallback(request *DeregisterAuthenticatorRequest, callback func(response *DeregisterAuthenticatorResponse, err error)) <-chan int

DeregisterAuthenticatorWithCallback invokes the idaas_doraemon.DeregisterAuthenticator API asynchronously

func (*Client) DeregisterAuthenticatorWithChan

func (client *Client) DeregisterAuthenticatorWithChan(request *DeregisterAuthenticatorRequest) (<-chan *DeregisterAuthenticatorResponse, <-chan error)

DeregisterAuthenticatorWithChan invokes the idaas_doraemon.DeregisterAuthenticator API asynchronously

func (*Client) FetchAccessToken

func (client *Client) FetchAccessToken(request *FetchAccessTokenRequest) (response *FetchAccessTokenResponse, err error)

FetchAccessToken invokes the idaas_doraemon.FetchAccessToken API synchronously

func (*Client) FetchAccessTokenWithCallback

func (client *Client) FetchAccessTokenWithCallback(request *FetchAccessTokenRequest, callback func(response *FetchAccessTokenResponse, err error)) <-chan int

FetchAccessTokenWithCallback invokes the idaas_doraemon.FetchAccessToken API asynchronously

func (*Client) FetchAccessTokenWithChan

func (client *Client) FetchAccessTokenWithChan(request *FetchAccessTokenRequest) (<-chan *FetchAccessTokenResponse, <-chan error)

FetchAccessTokenWithChan invokes the idaas_doraemon.FetchAccessToken API asynchronously

func (*Client) GetAuthenticator

func (client *Client) GetAuthenticator(request *GetAuthenticatorRequest) (response *GetAuthenticatorResponse, err error)

GetAuthenticator invokes the idaas_doraemon.GetAuthenticator API synchronously

func (*Client) GetAuthenticatorWithCallback

func (client *Client) GetAuthenticatorWithCallback(request *GetAuthenticatorRequest, callback func(response *GetAuthenticatorResponse, err error)) <-chan int

GetAuthenticatorWithCallback invokes the idaas_doraemon.GetAuthenticator API asynchronously

func (*Client) GetAuthenticatorWithChan

func (client *Client) GetAuthenticatorWithChan(request *GetAuthenticatorRequest) (<-chan *GetAuthenticatorResponse, <-chan error)

GetAuthenticatorWithChan invokes the idaas_doraemon.GetAuthenticator API asynchronously

func (*Client) ListAuthenticationLogs

func (client *Client) ListAuthenticationLogs(request *ListAuthenticationLogsRequest) (response *ListAuthenticationLogsResponse, err error)

ListAuthenticationLogs invokes the idaas_doraemon.ListAuthenticationLogs API synchronously

func (*Client) ListAuthenticationLogsWithCallback

func (client *Client) ListAuthenticationLogsWithCallback(request *ListAuthenticationLogsRequest, callback func(response *ListAuthenticationLogsResponse, err error)) <-chan int

ListAuthenticationLogsWithCallback invokes the idaas_doraemon.ListAuthenticationLogs API asynchronously

func (*Client) ListAuthenticationLogsWithChan

func (client *Client) ListAuthenticationLogsWithChan(request *ListAuthenticationLogsRequest) (<-chan *ListAuthenticationLogsResponse, <-chan error)

ListAuthenticationLogsWithChan invokes the idaas_doraemon.ListAuthenticationLogs API asynchronously

func (*Client) ListAuthenticatorOpsLogs

func (client *Client) ListAuthenticatorOpsLogs(request *ListAuthenticatorOpsLogsRequest) (response *ListAuthenticatorOpsLogsResponse, err error)

ListAuthenticatorOpsLogs invokes the idaas_doraemon.ListAuthenticatorOpsLogs API synchronously

func (*Client) ListAuthenticatorOpsLogsWithCallback

func (client *Client) ListAuthenticatorOpsLogsWithCallback(request *ListAuthenticatorOpsLogsRequest, callback func(response *ListAuthenticatorOpsLogsResponse, err error)) <-chan int

ListAuthenticatorOpsLogsWithCallback invokes the idaas_doraemon.ListAuthenticatorOpsLogs API asynchronously

func (*Client) ListAuthenticatorOpsLogsWithChan

func (client *Client) ListAuthenticatorOpsLogsWithChan(request *ListAuthenticatorOpsLogsRequest) (<-chan *ListAuthenticatorOpsLogsResponse, <-chan error)

ListAuthenticatorOpsLogsWithChan invokes the idaas_doraemon.ListAuthenticatorOpsLogs API asynchronously

func (*Client) ListAuthenticators

func (client *Client) ListAuthenticators(request *ListAuthenticatorsRequest) (response *ListAuthenticatorsResponse, err error)

ListAuthenticators invokes the idaas_doraemon.ListAuthenticators API synchronously

func (*Client) ListAuthenticatorsWithCallback

func (client *Client) ListAuthenticatorsWithCallback(request *ListAuthenticatorsRequest, callback func(response *ListAuthenticatorsResponse, err error)) <-chan int

ListAuthenticatorsWithCallback invokes the idaas_doraemon.ListAuthenticators API asynchronously

func (*Client) ListAuthenticatorsWithChan

func (client *Client) ListAuthenticatorsWithChan(request *ListAuthenticatorsRequest) (<-chan *ListAuthenticatorsResponse, <-chan error)

ListAuthenticatorsWithChan invokes the idaas_doraemon.ListAuthenticators API asynchronously

func (*Client) ListCostUnitOrders

func (client *Client) ListCostUnitOrders(request *ListCostUnitOrdersRequest) (response *ListCostUnitOrdersResponse, err error)

ListCostUnitOrders invokes the idaas_doraemon.ListCostUnitOrders API synchronously

func (*Client) ListCostUnitOrdersWithCallback

func (client *Client) ListCostUnitOrdersWithCallback(request *ListCostUnitOrdersRequest, callback func(response *ListCostUnitOrdersResponse, err error)) <-chan int

ListCostUnitOrdersWithCallback invokes the idaas_doraemon.ListCostUnitOrders API asynchronously

func (*Client) ListCostUnitOrdersWithChan

func (client *Client) ListCostUnitOrdersWithChan(request *ListCostUnitOrdersRequest) (<-chan *ListCostUnitOrdersResponse, <-chan error)

ListCostUnitOrdersWithChan invokes the idaas_doraemon.ListCostUnitOrders API asynchronously

func (*Client) ListOrderConsumeStatisticRecords

func (client *Client) ListOrderConsumeStatisticRecords(request *ListOrderConsumeStatisticRecordsRequest) (response *ListOrderConsumeStatisticRecordsResponse, err error)

ListOrderConsumeStatisticRecords invokes the idaas_doraemon.ListOrderConsumeStatisticRecords API synchronously

func (*Client) ListOrderConsumeStatisticRecordsWithCallback

func (client *Client) ListOrderConsumeStatisticRecordsWithCallback(request *ListOrderConsumeStatisticRecordsRequest, callback func(response *ListOrderConsumeStatisticRecordsResponse, err error)) <-chan int

ListOrderConsumeStatisticRecordsWithCallback invokes the idaas_doraemon.ListOrderConsumeStatisticRecords API asynchronously

func (*Client) ListOrderConsumeStatisticRecordsWithChan

func (client *Client) ListOrderConsumeStatisticRecordsWithChan(request *ListOrderConsumeStatisticRecordsRequest) (<-chan *ListOrderConsumeStatisticRecordsResponse, <-chan error)

ListOrderConsumeStatisticRecordsWithChan invokes the idaas_doraemon.ListOrderConsumeStatisticRecords API asynchronously

func (*Client) ListPwnedPasswords

func (client *Client) ListPwnedPasswords(request *ListPwnedPasswordsRequest) (response *ListPwnedPasswordsResponse, err error)

ListPwnedPasswords invokes the idaas_doraemon.ListPwnedPasswords API synchronously

func (*Client) ListPwnedPasswordsWithCallback

func (client *Client) ListPwnedPasswordsWithCallback(request *ListPwnedPasswordsRequest, callback func(response *ListPwnedPasswordsResponse, err error)) <-chan int

ListPwnedPasswordsWithCallback invokes the idaas_doraemon.ListPwnedPasswords API asynchronously

func (*Client) ListPwnedPasswordsWithChan

func (client *Client) ListPwnedPasswordsWithChan(request *ListPwnedPasswordsRequest) (<-chan *ListPwnedPasswordsResponse, <-chan error)

ListPwnedPasswordsWithChan invokes the idaas_doraemon.ListPwnedPasswords API asynchronously

func (*Client) ListUsers

func (client *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)

ListUsers invokes the idaas_doraemon.ListUsers API synchronously

func (*Client) ListUsersWithCallback

func (client *Client) ListUsersWithCallback(request *ListUsersRequest, callback func(response *ListUsersResponse, err error)) <-chan int

ListUsersWithCallback invokes the idaas_doraemon.ListUsers API asynchronously

func (*Client) ListUsersWithChan

func (client *Client) ListUsersWithChan(request *ListUsersRequest) (<-chan *ListUsersResponse, <-chan error)

ListUsersWithChan invokes the idaas_doraemon.ListUsers API asynchronously

func (*Client) RegisterAuthenticator

func (client *Client) RegisterAuthenticator(request *RegisterAuthenticatorRequest) (response *RegisterAuthenticatorResponse, err error)

RegisterAuthenticator invokes the idaas_doraemon.RegisterAuthenticator API synchronously

func (*Client) RegisterAuthenticatorWithCallback

func (client *Client) RegisterAuthenticatorWithCallback(request *RegisterAuthenticatorRequest, callback func(response *RegisterAuthenticatorResponse, err error)) <-chan int

RegisterAuthenticatorWithCallback invokes the idaas_doraemon.RegisterAuthenticator API asynchronously

func (*Client) RegisterAuthenticatorWithChan

func (client *Client) RegisterAuthenticatorWithChan(request *RegisterAuthenticatorRequest) (<-chan *RegisterAuthenticatorResponse, <-chan error)

RegisterAuthenticatorWithChan invokes the idaas_doraemon.RegisterAuthenticator API asynchronously

func (*Client) ServiceInvoke

func (client *Client) ServiceInvoke(request *ServiceInvokeRequest) (response *ServiceInvokeResponse, err error)

ServiceInvoke invokes the idaas_doraemon.ServiceInvoke API synchronously

func (*Client) ServiceInvokeWithCallback

func (client *Client) ServiceInvokeWithCallback(request *ServiceInvokeRequest, callback func(response *ServiceInvokeResponse, err error)) <-chan int

ServiceInvokeWithCallback invokes the idaas_doraemon.ServiceInvoke API asynchronously

func (*Client) ServiceInvokeWithChan

func (client *Client) ServiceInvokeWithChan(request *ServiceInvokeRequest) (<-chan *ServiceInvokeResponse, <-chan error)

ServiceInvokeWithChan invokes the idaas_doraemon.ServiceInvoke API asynchronously

func (*Client) UpdateAuthenticatorAttribute

func (client *Client) UpdateAuthenticatorAttribute(request *UpdateAuthenticatorAttributeRequest) (response *UpdateAuthenticatorAttributeResponse, err error)

UpdateAuthenticatorAttribute invokes the idaas_doraemon.UpdateAuthenticatorAttribute API synchronously

func (*Client) UpdateAuthenticatorAttributeWithCallback

func (client *Client) UpdateAuthenticatorAttributeWithCallback(request *UpdateAuthenticatorAttributeRequest, callback func(response *UpdateAuthenticatorAttributeResponse, err error)) <-chan int

UpdateAuthenticatorAttributeWithCallback invokes the idaas_doraemon.UpdateAuthenticatorAttribute API asynchronously

func (*Client) UpdateAuthenticatorAttributeWithChan

func (client *Client) UpdateAuthenticatorAttributeWithChan(request *UpdateAuthenticatorAttributeRequest) (<-chan *UpdateAuthenticatorAttributeResponse, <-chan error)

UpdateAuthenticatorAttributeWithChan invokes the idaas_doraemon.UpdateAuthenticatorAttribute API asynchronously

func (*Client) VerifyIdToken

func (client *Client) VerifyIdToken(request *VerifyIdTokenRequest) (response *VerifyIdTokenResponse, err error)

VerifyIdToken invokes the idaas_doraemon.VerifyIdToken API synchronously

func (*Client) VerifyIdTokenWithCallback

func (client *Client) VerifyIdTokenWithCallback(request *VerifyIdTokenRequest, callback func(response *VerifyIdTokenResponse, err error)) <-chan int

VerifyIdTokenWithCallback invokes the idaas_doraemon.VerifyIdToken API asynchronously

func (*Client) VerifyIdTokenWithChan

func (client *Client) VerifyIdTokenWithChan(request *VerifyIdTokenRequest) (<-chan *VerifyIdTokenResponse, <-chan error)

VerifyIdTokenWithChan invokes the idaas_doraemon.VerifyIdToken API asynchronously

func (*Client) VerifyUserAuthentication

func (client *Client) VerifyUserAuthentication(request *VerifyUserAuthenticationRequest) (response *VerifyUserAuthenticationResponse, err error)

VerifyUserAuthentication invokes the idaas_doraemon.VerifyUserAuthentication API synchronously

func (*Client) VerifyUserAuthenticationWithCallback

func (client *Client) VerifyUserAuthenticationWithCallback(request *VerifyUserAuthenticationRequest, callback func(response *VerifyUserAuthenticationResponse, err error)) <-chan int

VerifyUserAuthenticationWithCallback invokes the idaas_doraemon.VerifyUserAuthentication API asynchronously

func (*Client) VerifyUserAuthenticationWithChan

func (client *Client) VerifyUserAuthenticationWithChan(request *VerifyUserAuthenticationRequest) (<-chan *VerifyUserAuthenticationResponse, <-chan error)

VerifyUserAuthenticationWithChan invokes the idaas_doraemon.VerifyUserAuthentication API asynchronously

type CreateAuthenticatorRegistrationRequest

type CreateAuthenticatorRegistrationRequest struct {
	*requests.RpcRequest
	ClientExtendParamsJson     string `position:"Query" name:"ClientExtendParamsJson"`
	UserId                     string `position:"Query" name:"UserId"`
	UserDisplayName            string `position:"Query" name:"UserDisplayName"`
	ServerExtendParamsJson     string `position:"Query" name:"ServerExtendParamsJson"`
	RegistrationContext        string `position:"Query" name:"RegistrationContext"`
	AuthenticatorType          string `position:"Query" name:"AuthenticatorType"`
	ClientExtendParamsJsonSign string `position:"Query" name:"ClientExtendParamsJsonSign"`
	ApplicationExternalId      string `position:"Query" name:"ApplicationExternalId"`
	UserName                   string `position:"Query" name:"UserName"`
}

CreateAuthenticatorRegistrationRequest is the request struct for api CreateAuthenticatorRegistration

func CreateCreateAuthenticatorRegistrationRequest

func CreateCreateAuthenticatorRegistrationRequest() (request *CreateAuthenticatorRegistrationRequest)

CreateCreateAuthenticatorRegistrationRequest creates a request to invoke CreateAuthenticatorRegistration API

type CreateAuthenticatorRegistrationResponse

type CreateAuthenticatorRegistrationResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	ChallengeBase64 string `json:"ChallengeBase64" xml:"ChallengeBase64"`
	Options         string `json:"Options" xml:"Options"`
}

CreateAuthenticatorRegistrationResponse is the response struct for api CreateAuthenticatorRegistration

func CreateCreateAuthenticatorRegistrationResponse

func CreateCreateAuthenticatorRegistrationResponse() (response *CreateAuthenticatorRegistrationResponse)

CreateCreateAuthenticatorRegistrationResponse creates a response to parse from CreateAuthenticatorRegistration response

type CreateUserAuthenticateOptionsRequest

type CreateUserAuthenticateOptionsRequest struct {
	*requests.RpcRequest
	ClientExtendParamsJson     string `position:"Query" name:"ClientExtendParamsJson"`
	UserId                     string `position:"Query" name:"UserId"`
	BindHashBase64             string `position:"Query" name:"BindHashBase64"`
	ServerExtendParamsJson     string `position:"Query" name:"ServerExtendParamsJson"`
	AuthenticatorType          string `position:"Query" name:"AuthenticatorType"`
	ClientExtendParamsJsonSign string `position:"Query" name:"ClientExtendParamsJsonSign"`
	ApplicationExternalId      string `position:"Query" name:"ApplicationExternalId"`
}

CreateUserAuthenticateOptionsRequest is the request struct for api CreateUserAuthenticateOptions

func CreateCreateUserAuthenticateOptionsRequest

func CreateCreateUserAuthenticateOptionsRequest() (request *CreateUserAuthenticateOptionsRequest)

CreateCreateUserAuthenticateOptionsRequest creates a request to invoke CreateUserAuthenticateOptions API

type CreateUserAuthenticateOptionsResponse

type CreateUserAuthenticateOptionsResponse struct {
	*responses.BaseResponse
	RequestId       string `json:"RequestId" xml:"RequestId"`
	ChallengeBase64 string `json:"ChallengeBase64" xml:"ChallengeBase64"`
	Options         string `json:"Options" xml:"Options"`
}

CreateUserAuthenticateOptionsResponse is the response struct for api CreateUserAuthenticateOptions

func CreateCreateUserAuthenticateOptionsResponse

func CreateCreateUserAuthenticateOptionsResponse() (response *CreateUserAuthenticateOptionsResponse)

CreateCreateUserAuthenticateOptionsResponse creates a response to parse from CreateUserAuthenticateOptions response

type Data

type Data struct {
	AccessToken  string `json:"Access_token" xml:"Access_token"`
	TokenType    string `json:"Token_type" xml:"Token_type"`
	Scope        string `json:"Scope" xml:"Scope"`
	ExpiresIn    string `json:"Expires_in" xml:"Expires_in"`
	RefreshToken string `json:"Refresh_token" xml:"Refresh_token"`
	IdToken      string `json:"Id_token" xml:"Id_token"`
}

Data is a nested struct in idaas_doraemon response

type DeregisterAuthenticatorRequest

type DeregisterAuthenticatorRequest struct {
	*requests.RpcRequest
	UserId                string `position:"Query" name:"UserId"`
	AuthenticatorUuid     string `position:"Query" name:"AuthenticatorUuid"`
	ApplicationExternalId string `position:"Query" name:"ApplicationExternalId"`
}

DeregisterAuthenticatorRequest is the request struct for api DeregisterAuthenticator

func CreateDeregisterAuthenticatorRequest

func CreateDeregisterAuthenticatorRequest() (request *DeregisterAuthenticatorRequest)

CreateDeregisterAuthenticatorRequest creates a request to invoke DeregisterAuthenticator API

type DeregisterAuthenticatorResponse

type DeregisterAuthenticatorResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeregisterAuthenticatorResponse is the response struct for api DeregisterAuthenticator

func CreateDeregisterAuthenticatorResponse

func CreateDeregisterAuthenticatorResponse() (response *DeregisterAuthenticatorResponse)

CreateDeregisterAuthenticatorResponse creates a response to parse from DeregisterAuthenticator response

type FetchAccessTokenRequest

type FetchAccessTokenRequest struct {
	*requests.RpcRequest
	UserId                     string `position:"Query" name:"UserId"`
	XClientIp                  string `position:"Query" name:"XClientIp"`
	MobileExtendParamsJsonSign string `position:"Query" name:"MobileExtendParamsJsonSign"`
	ServerExtendParamsJson     string `position:"Query" name:"ServerExtendParamsJson"`
	MobileExtendParamsJson     string `position:"Query" name:"MobileExtendParamsJson"`
	ApplicationExternalId      string `position:"Query" name:"ApplicationExternalId"`
}

FetchAccessTokenRequest is the request struct for api FetchAccessToken

func CreateFetchAccessTokenRequest

func CreateFetchAccessTokenRequest() (request *FetchAccessTokenRequest)

CreateFetchAccessTokenRequest creates a request to invoke FetchAccessToken API

type FetchAccessTokenResponse

type FetchAccessTokenResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

FetchAccessTokenResponse is the response struct for api FetchAccessToken

func CreateFetchAccessTokenResponse

func CreateFetchAccessTokenResponse() (response *FetchAccessTokenResponse)

CreateFetchAccessTokenResponse creates a response to parse from FetchAccessToken response

type GetAuthenticatorRequest

type GetAuthenticatorRequest struct {
	*requests.RpcRequest
	UserId                string `position:"Query" name:"UserId"`
	AuthenticatorUuid     string `position:"Query" name:"AuthenticatorUuid"`
	ApplicationExternalId string `position:"Query" name:"ApplicationExternalId"`
}

GetAuthenticatorRequest is the request struct for api GetAuthenticator

func CreateGetAuthenticatorRequest

func CreateGetAuthenticatorRequest() (request *GetAuthenticatorRequest)

CreateGetAuthenticatorRequest creates a request to invoke GetAuthenticator API

type GetAuthenticatorResponse

type GetAuthenticatorResponse struct {
	*responses.BaseResponse
	RequestId     string        `json:"RequestId" xml:"RequestId"`
	Authenticator Authenticator `json:"Authenticator" xml:"Authenticator"`
}

GetAuthenticatorResponse is the response struct for api GetAuthenticator

func CreateGetAuthenticatorResponse

func CreateGetAuthenticatorResponse() (response *GetAuthenticatorResponse)

CreateGetAuthenticatorResponse creates a response to parse from GetAuthenticator response

type Item

type Item struct {
	AliOrderInstanceId    string `json:"AliOrderInstanceId" xml:"AliOrderInstanceId"`
	CreateTime            int64  `json:"CreateTime" xml:"CreateTime"`
	StatisticTime         int64  `json:"StatisticTime" xml:"StatisticTime"`
	RefundTime            int64  `json:"RefundTime" xml:"RefundTime"`
	ServiceCode           string `json:"ServiceCode" xml:"ServiceCode"`
	ChargedCount          int64  `json:"ChargedCount" xml:"ChargedCount"`
	UsedCostUnit          int64  `json:"UsedCostUnit" xml:"UsedCostUnit"`
	TotalCostUnit         int64  `json:"TotalCostUnit" xml:"TotalCostUnit"`
	OrderStatus           string `json:"OrderStatus" xml:"OrderStatus"`
	UnitPrice             int64  `json:"UnitPrice" xml:"UnitPrice"`
	AliOrderCode          string `json:"AliOrderCode" xml:"AliOrderCode"`
	TotalPrice            int64  `json:"TotalPrice" xml:"TotalPrice"`
	ExpiredTime           int64  `json:"ExpiredTime" xml:"ExpiredTime"`
	ApplicationExternalId string `json:"ApplicationExternalId" xml:"ApplicationExternalId"`
}

Item is a nested struct in idaas_doraemon response

type Items

type Items struct {
	PwnedCount          int64  `json:"PwnedCount" xml:"PwnedCount"`
	HexPasswordSha1Hash string `json:"HexPasswordSha1Hash" xml:"HexPasswordSha1Hash"`
}

Items is a nested struct in idaas_doraemon response

type ItemsInListCostUnitOrders

type ItemsInListCostUnitOrders struct {
	Item []Item `json:"Item" xml:"Item"`
}

ItemsInListCostUnitOrders is a nested struct in idaas_doraemon response

type ItemsInListOrderConsumeStatisticRecords

type ItemsInListOrderConsumeStatisticRecords struct {
	Item []Item `json:"Item" xml:"Item"`
}

ItemsInListOrderConsumeStatisticRecords is a nested struct in idaas_doraemon response

type ListAuthenticationLogsRequest

type ListAuthenticationLogsRequest struct {
	*requests.RpcRequest
	ToTime                requests.Integer `position:"Query" name:"ToTime"`
	UserId                string           `position:"Query" name:"UserId"`
	LogTag                string           `position:"Query" name:"LogTag"`
	PageNumber            requests.Integer `position:"Query" name:"PageNumber"`
	PageSize              requests.Integer `position:"Query" name:"PageSize"`
	CredentialId          string           `position:"Query" name:"CredentialId"`
	FromTime              requests.Integer `position:"Query" name:"FromTime"`
	AuthenticatorUuid     string           `position:"Query" name:"AuthenticatorUuid"`
	AuthenticatorType     string           `position:"Query" name:"AuthenticatorType"`
	ApplicationExternalId string           `position:"Query" name:"ApplicationExternalId"`
}

ListAuthenticationLogsRequest is the request struct for api ListAuthenticationLogs

func CreateListAuthenticationLogsRequest

func CreateListAuthenticationLogsRequest() (request *ListAuthenticationLogsRequest)

CreateListAuthenticationLogsRequest creates a request to invoke ListAuthenticationLogs API

type ListAuthenticationLogsResponse

type ListAuthenticationLogsResponse struct {
	*responses.BaseResponse
	RequestId                string                     `json:"RequestId" xml:"RequestId"`
	TotalCount               int64                      `json:"TotalCount" xml:"TotalCount"`
	PageNumber               int64                      `json:"PageNumber" xml:"PageNumber"`
	PageSize                 int64                      `json:"PageSize" xml:"PageSize"`
	AuthenticationLogContent []AuthenticationLogContent `json:"AuthenticationLogContent" xml:"AuthenticationLogContent"`
}

ListAuthenticationLogsResponse is the response struct for api ListAuthenticationLogs

func CreateListAuthenticationLogsResponse

func CreateListAuthenticationLogsResponse() (response *ListAuthenticationLogsResponse)

CreateListAuthenticationLogsResponse creates a response to parse from ListAuthenticationLogs response

type ListAuthenticatorOpsLogsRequest

type ListAuthenticatorOpsLogsRequest struct {
	*requests.RpcRequest
	ToTime                requests.Integer `position:"Query" name:"ToTime"`
	UserId                string           `position:"Query" name:"UserId"`
	PageNumber            requests.Integer `position:"Query" name:"PageNumber"`
	PageSize              requests.Integer `position:"Query" name:"PageSize"`
	FromTime              requests.Integer `position:"Query" name:"FromTime"`
	AuthenticatorUuid     string           `position:"Query" name:"AuthenticatorUuid"`
	AuthenticatorType     string           `position:"Query" name:"AuthenticatorType"`
	ApplicationExternalId string           `position:"Query" name:"ApplicationExternalId"`
}

ListAuthenticatorOpsLogsRequest is the request struct for api ListAuthenticatorOpsLogs

func CreateListAuthenticatorOpsLogsRequest

func CreateListAuthenticatorOpsLogsRequest() (request *ListAuthenticatorOpsLogsRequest)

CreateListAuthenticatorOpsLogsRequest creates a request to invoke ListAuthenticatorOpsLogs API

type ListAuthenticatorOpsLogsResponse

type ListAuthenticatorOpsLogsResponse struct {
	*responses.BaseResponse
	RequestId                string                     `json:"RequestId" xml:"RequestId"`
	TotalCount               int64                      `json:"TotalCount" xml:"TotalCount"`
	PageNumber               int64                      `json:"PageNumber" xml:"PageNumber"`
	PageSize                 int64                      `json:"PageSize" xml:"PageSize"`
	AuthenticationLogContent []AuthenticationLogContent `json:"AuthenticationLogContent" xml:"AuthenticationLogContent"`
}

ListAuthenticatorOpsLogsResponse is the response struct for api ListAuthenticatorOpsLogs

func CreateListAuthenticatorOpsLogsResponse

func CreateListAuthenticatorOpsLogsResponse() (response *ListAuthenticatorOpsLogsResponse)

CreateListAuthenticatorOpsLogsResponse creates a response to parse from ListAuthenticatorOpsLogs response

type ListAuthenticatorsRequest

type ListAuthenticatorsRequest struct {
	*requests.RpcRequest
	UserId                string           `position:"Query" name:"UserId"`
	PageNumber            requests.Integer `position:"Query" name:"PageNumber"`
	PageSize              requests.Integer `position:"Query" name:"PageSize"`
	AuthenticatorType     string           `position:"Query" name:"AuthenticatorType"`
	ApplicationExternalId string           `position:"Query" name:"ApplicationExternalId"`
}

ListAuthenticatorsRequest is the request struct for api ListAuthenticators

func CreateListAuthenticatorsRequest

func CreateListAuthenticatorsRequest() (request *ListAuthenticatorsRequest)

CreateListAuthenticatorsRequest creates a request to invoke ListAuthenticators API

type ListAuthenticatorsResponse

type ListAuthenticatorsResponse struct {
	*responses.BaseResponse
	RequestId     string                 `json:"RequestId" xml:"RequestId"`
	PageNumber    int64                  `json:"PageNumber" xml:"PageNumber"`
	TotalCount    int64                  `json:"TotalCount" xml:"TotalCount"`
	PageSize      int64                  `json:"PageSize" xml:"PageSize"`
	Authenticator []AuthenticatorListDTO `json:"Authenticator" xml:"Authenticator"`
}

ListAuthenticatorsResponse is the response struct for api ListAuthenticators

func CreateListAuthenticatorsResponse

func CreateListAuthenticatorsResponse() (response *ListAuthenticatorsResponse)

CreateListAuthenticatorsResponse creates a response to parse from ListAuthenticators response

type ListCostUnitOrdersRequest

type ListCostUnitOrdersRequest struct {
	*requests.RpcRequest
	BeginDate  string           `position:"Query" name:"BeginDate"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	FinalDate  string           `position:"Query" name:"FinalDate"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListCostUnitOrdersRequest is the request struct for api ListCostUnitOrders

func CreateListCostUnitOrdersRequest

func CreateListCostUnitOrdersRequest() (request *ListCostUnitOrdersRequest)

CreateListCostUnitOrdersRequest creates a request to invoke ListCostUnitOrders API

type ListCostUnitOrdersResponse

type ListCostUnitOrdersResponse struct {
	*responses.BaseResponse
	RequestId     string `json:"RequestId" xml:"RequestId"`
	TotalPages    int64  `json:"TotalPages" xml:"TotalPages"`
	TotalElements int64  `json:"TotalElements" xml:"TotalElements"`
	PageSize      int64  `json:"PageSize" xml:"PageSize"`
	Items         []Item `json:"Items" xml:"Items"`
}

ListCostUnitOrdersResponse is the response struct for api ListCostUnitOrders

func CreateListCostUnitOrdersResponse

func CreateListCostUnitOrdersResponse() (response *ListCostUnitOrdersResponse)

CreateListCostUnitOrdersResponse creates a response to parse from ListCostUnitOrders response

type ListOrderConsumeStatisticRecordsRequest

type ListOrderConsumeStatisticRecordsRequest struct {
	*requests.RpcRequest
	StatisticTimeMin string           `position:"Query" name:"StatisticTimeMin"`
	AliOrderCode     string           `position:"Query" name:"AliOrderCode"`
	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
	PageSize         requests.Integer `position:"Query" name:"PageSize"`
	StatisticTimeMax string           `position:"Query" name:"StatisticTimeMax"`
}

ListOrderConsumeStatisticRecordsRequest is the request struct for api ListOrderConsumeStatisticRecords

func CreateListOrderConsumeStatisticRecordsRequest

func CreateListOrderConsumeStatisticRecordsRequest() (request *ListOrderConsumeStatisticRecordsRequest)

CreateListOrderConsumeStatisticRecordsRequest creates a request to invoke ListOrderConsumeStatisticRecords API

type ListOrderConsumeStatisticRecordsResponse

type ListOrderConsumeStatisticRecordsResponse struct {
	*responses.BaseResponse
	RequestId     string `json:"RequestId" xml:"RequestId"`
	TotalPages    int64  `json:"TotalPages" xml:"TotalPages"`
	TotalElements int64  `json:"TotalElements" xml:"TotalElements"`
	PageSize      int64  `json:"PageSize" xml:"PageSize"`
	Items         []Item `json:"Items" xml:"Items"`
}

ListOrderConsumeStatisticRecordsResponse is the response struct for api ListOrderConsumeStatisticRecords

func CreateListOrderConsumeStatisticRecordsResponse

func CreateListOrderConsumeStatisticRecordsResponse() (response *ListOrderConsumeStatisticRecordsResponse)

CreateListOrderConsumeStatisticRecordsResponse creates a response to parse from ListOrderConsumeStatisticRecords response

type ListPwnedPasswordsRequest

type ListPwnedPasswordsRequest struct {
	*requests.RpcRequest
	PrefixHexPasswordSha1Hash string `position:"Query" name:"PrefixHexPasswordSha1Hash"`
}

ListPwnedPasswordsRequest is the request struct for api ListPwnedPasswords

func CreateListPwnedPasswordsRequest

func CreateListPwnedPasswordsRequest() (request *ListPwnedPasswordsRequest)

CreateListPwnedPasswordsRequest creates a request to invoke ListPwnedPasswords API

type ListPwnedPasswordsResponse

type ListPwnedPasswordsResponse struct {
	*responses.BaseResponse
	RequestId          string  `json:"RequestId" xml:"RequestId"`
	PageNumber         int64   `json:"PageNumber" xml:"PageNumber"`
	TotalCount         int64   `json:"TotalCount" xml:"TotalCount"`
	PageSize           int64   `json:"PageSize" xml:"PageSize"`
	PwnedPasswordInfos []Items `json:"PwnedPasswordInfos" xml:"PwnedPasswordInfos"`
}

ListPwnedPasswordsResponse is the response struct for api ListPwnedPasswords

func CreateListPwnedPasswordsResponse

func CreateListPwnedPasswordsResponse() (response *ListPwnedPasswordsResponse)

CreateListPwnedPasswordsResponse creates a response to parse from ListPwnedPasswords response

type ListUsersRequest

type ListUsersRequest struct {
	*requests.RpcRequest
	UserId                string `position:"Query" name:"UserId"`
	ApplicationExternalId string `position:"Query" name:"ApplicationExternalId"`
}

ListUsersRequest is the request struct for api ListUsers

func CreateListUsersRequest

func CreateListUsersRequest() (request *ListUsersRequest)

CreateListUsersRequest creates a request to invoke ListUsers API

type ListUsersResponse

type ListUsersResponse struct {
	*responses.BaseResponse
	RequestId  string  `json:"RequestId" xml:"RequestId"`
	TotalCount int64   `json:"TotalCount" xml:"TotalCount"`
	Users      []Users `json:"Users" xml:"Users"`
}

ListUsersResponse is the response struct for api ListUsers

func CreateListUsersResponse

func CreateListUsersResponse() (response *ListUsersResponse)

CreateListUsersResponse creates a response to parse from ListUsers response

type PwnedPasswordInfos

type PwnedPasswordInfos struct {
	Items []Items `json:"items" xml:"items"`
}

PwnedPasswordInfos is a nested struct in idaas_doraemon response

type RegisterAuthenticatorRequest

type RegisterAuthenticatorRequest struct {
	*requests.RpcRequest
	LogParams                  string `position:"Query" name:"LogParams"`
	ClientExtendParamsJson     string `position:"Query" name:"ClientExtendParamsJson"`
	UserId                     string `position:"Query" name:"UserId"`
	ServerExtendParamsJson     string `position:"Query" name:"ServerExtendParamsJson"`
	RegistrationContext        string `position:"Query" name:"RegistrationContext"`
	AuthenticatorName          string `position:"Query" name:"AuthenticatorName"`
	RequireChallengeBase64     string `position:"Query" name:"RequireChallengeBase64"`
	AuthenticatorType          string `position:"Query" name:"AuthenticatorType"`
	ClientExtendParamsJsonSign string `position:"Query" name:"ClientExtendParamsJsonSign"`
	UserSourceIp               string `position:"Query" name:"UserSourceIp"`
	ApplicationExternalId      string `position:"Query" name:"ApplicationExternalId"`
}

RegisterAuthenticatorRequest is the request struct for api RegisterAuthenticator

func CreateRegisterAuthenticatorRequest

func CreateRegisterAuthenticatorRequest() (request *RegisterAuthenticatorRequest)

CreateRegisterAuthenticatorRequest creates a request to invoke RegisterAuthenticator API

type RegisterAuthenticatorResponse

type RegisterAuthenticatorResponse struct {
	*responses.BaseResponse
	RequestId         string `json:"RequestId" xml:"RequestId"`
	AuthenticatorUuid string `json:"AuthenticatorUuid" xml:"AuthenticatorUuid"`
	EtasResponseSting string `json:"EtasResponseSting" xml:"EtasResponseSting"`
}

RegisterAuthenticatorResponse is the response struct for api RegisterAuthenticator

func CreateRegisterAuthenticatorResponse

func CreateRegisterAuthenticatorResponse() (response *RegisterAuthenticatorResponse)

CreateRegisterAuthenticatorResponse creates a response to parse from RegisterAuthenticator response

type ServiceInvokeRequest

type ServiceInvokeRequest struct {
	*requests.RpcRequest
	XClientIp                  string           `position:"Query" name:"XClientIp"`
	MobileExtendParamsJsonSign string           `position:"Query" name:"MobileExtendParamsJsonSign"`
	ServerExtendParamsJson     string           `position:"Query" name:"ServerExtendParamsJson"`
	DoraemonAction             string           `position:"Query" name:"DoraemonAction"`
	MobileExtendParamsJson     string           `position:"Query" name:"MobileExtendParamsJson"`
	ServiceCode                string           `position:"Query" name:"ServiceCode"`
	TestModel                  requests.Boolean `position:"Query" name:"TestModel"`
	ApplicationExternalId      string           `position:"Query" name:"ApplicationExternalId"`
}

ServiceInvokeRequest is the request struct for api ServiceInvoke

func CreateServiceInvokeRequest

func CreateServiceInvokeRequest() (request *ServiceInvokeRequest)

CreateServiceInvokeRequest creates a request to invoke ServiceInvoke API

type ServiceInvokeResponse

type ServiceInvokeResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      string `json:"Data" xml:"Data"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
	Success   bool   `json:"Success" xml:"Success"`
	IdToken   string `json:"IdToken" xml:"IdToken"`
}

ServiceInvokeResponse is the response struct for api ServiceInvoke

func CreateServiceInvokeResponse

func CreateServiceInvokeResponse() (response *ServiceInvokeResponse)

CreateServiceInvokeResponse creates a response to parse from ServiceInvoke response

type UpdateAuthenticatorAttributeRequest

type UpdateAuthenticatorAttributeRequest struct {
	*requests.RpcRequest
	UserId                string `position:"Query" name:"UserId"`
	AuthenticatorName     string `position:"Query" name:"AuthenticatorName"`
	AuthenticatorUuid     string `position:"Query" name:"AuthenticatorUuid"`
	ApplicationExternalId string `position:"Query" name:"ApplicationExternalId"`
}

UpdateAuthenticatorAttributeRequest is the request struct for api UpdateAuthenticatorAttribute

func CreateUpdateAuthenticatorAttributeRequest

func CreateUpdateAuthenticatorAttributeRequest() (request *UpdateAuthenticatorAttributeRequest)

CreateUpdateAuthenticatorAttributeRequest creates a request to invoke UpdateAuthenticatorAttribute API

type UpdateAuthenticatorAttributeResponse

type UpdateAuthenticatorAttributeResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateAuthenticatorAttributeResponse is the response struct for api UpdateAuthenticatorAttribute

func CreateUpdateAuthenticatorAttributeResponse

func CreateUpdateAuthenticatorAttributeResponse() (response *UpdateAuthenticatorAttributeResponse)

CreateUpdateAuthenticatorAttributeResponse creates a response to parse from UpdateAuthenticatorAttribute response

type Users

type Users struct {
	UserDisplayName string `json:"UserDisplayName" xml:"UserDisplayName"`
	UserId          string `json:"UserId" xml:"UserId"`
	UserName        string `json:"UserName" xml:"UserName"`
}

Users is a nested struct in idaas_doraemon response

type UsersInListUsers

type UsersInListUsers struct {
	Users []Users `json:"users" xml:"users"`
}

UsersInListUsers is a nested struct in idaas_doraemon response

type VerifyIdTokenRequest

type VerifyIdTokenRequest struct {
	*requests.RpcRequest
	JwtIdToken            string `position:"Query" name:"JwtIdToken"`
	ApplicationExternalId string `position:"Query" name:"ApplicationExternalId"`
}

VerifyIdTokenRequest is the request struct for api VerifyIdToken

func CreateVerifyIdTokenRequest

func CreateVerifyIdTokenRequest() (request *VerifyIdTokenRequest)

CreateVerifyIdTokenRequest creates a request to invoke VerifyIdToken API

type VerifyIdTokenResponse

type VerifyIdTokenResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	UserId    string `json:"UserId" xml:"UserId"`
}

VerifyIdTokenResponse is the response struct for api VerifyIdToken

func CreateVerifyIdTokenResponse

func CreateVerifyIdTokenResponse() (response *VerifyIdTokenResponse)

CreateVerifyIdTokenResponse creates a response to parse from VerifyIdToken response

type VerifyUserAuthenticationRequest

type VerifyUserAuthenticationRequest struct {
	*requests.RpcRequest
	LogParams                  string `position:"Query" name:"LogParams"`
	ClientExtendParamsJson     string `position:"Query" name:"ClientExtendParamsJson"`
	UserId                     string `position:"Query" name:"UserId"`
	LogTag                     string `position:"Query" name:"LogTag"`
	ServerExtendParamsJson     string `position:"Query" name:"ServerExtendParamsJson"`
	RequireBindHashBase64      string `position:"Query" name:"RequireBindHashBase64"`
	AuthenticationContext      string `position:"Query" name:"AuthenticationContext"`
	RequireChallengeBase64     string `position:"Query" name:"RequireChallengeBase64"`
	AuthenticatorType          string `position:"Query" name:"AuthenticatorType"`
	ClientExtendParamsJsonSign string `position:"Query" name:"ClientExtendParamsJsonSign"`
	UserSourceIp               string `position:"Query" name:"UserSourceIp"`
	ApplicationExternalId      string `position:"Query" name:"ApplicationExternalId"`
}

VerifyUserAuthenticationRequest is the request struct for api VerifyUserAuthentication

func CreateVerifyUserAuthenticationRequest

func CreateVerifyUserAuthenticationRequest() (request *VerifyUserAuthenticationRequest)

CreateVerifyUserAuthenticationRequest creates a request to invoke VerifyUserAuthentication API

type VerifyUserAuthenticationResponse

type VerifyUserAuthenticationResponse struct {
	*responses.BaseResponse
	RequestId              string                 `json:"RequestId" xml:"RequestId"`
	VerifyResult           bool                   `json:"VerifyResult" xml:"VerifyResult"`
	EtasSDKString          string                 `json:"EtasSDKString" xml:"EtasSDKString"`
	IdToken                string                 `json:"IdToken" xml:"IdToken"`
	AuthenticateResultInfo AuthenticateResultInfo `json:"AuthenticateResultInfo" xml:"AuthenticateResultInfo"`
}

VerifyUserAuthenticationResponse is the response struct for api VerifyUserAuthentication

func CreateVerifyUserAuthenticationResponse

func CreateVerifyUserAuthenticationResponse() (response *VerifyUserAuthenticationResponse)

CreateVerifyUserAuthenticationResponse creates a response to parse from VerifyUserAuthentication response

Jump to

Keyboard shortcuts

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