Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AuthenticateResultInfo
- type AuthenticationLogContentInListAuthenticationLogs
- type AuthenticationLogContentInListAuthenticatorOpsLogs
- type AuthenticationLogContentItem
- type Authenticator
- type AuthenticatorInListAuthenticators
- type AuthenticatorListDTO
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CreateAuthenticatorRegistration(request *CreateAuthenticatorRegistrationRequest) (response *CreateAuthenticatorRegistrationResponse, err error)
- func (client *Client) CreateAuthenticatorRegistrationWithCallback(request *CreateAuthenticatorRegistrationRequest, ...) <-chan int
- func (client *Client) CreateAuthenticatorRegistrationWithChan(request *CreateAuthenticatorRegistrationRequest) (<-chan *CreateAuthenticatorRegistrationResponse, <-chan error)
- func (client *Client) CreateUserAuthenticateOptions(request *CreateUserAuthenticateOptionsRequest) (response *CreateUserAuthenticateOptionsResponse, err error)
- func (client *Client) CreateUserAuthenticateOptionsWithCallback(request *CreateUserAuthenticateOptionsRequest, ...) <-chan int
- func (client *Client) CreateUserAuthenticateOptionsWithChan(request *CreateUserAuthenticateOptionsRequest) (<-chan *CreateUserAuthenticateOptionsResponse, <-chan error)
- func (client *Client) DeregisterAuthenticator(request *DeregisterAuthenticatorRequest) (response *DeregisterAuthenticatorResponse, err error)
- func (client *Client) DeregisterAuthenticatorWithCallback(request *DeregisterAuthenticatorRequest, ...) <-chan int
- func (client *Client) DeregisterAuthenticatorWithChan(request *DeregisterAuthenticatorRequest) (<-chan *DeregisterAuthenticatorResponse, <-chan error)
- func (client *Client) FetchAccessToken(request *FetchAccessTokenRequest) (response *FetchAccessTokenResponse, err error)
- func (client *Client) FetchAccessTokenWithCallback(request *FetchAccessTokenRequest, ...) <-chan int
- func (client *Client) FetchAccessTokenWithChan(request *FetchAccessTokenRequest) (<-chan *FetchAccessTokenResponse, <-chan error)
- func (client *Client) GetAuthenticator(request *GetAuthenticatorRequest) (response *GetAuthenticatorResponse, err error)
- func (client *Client) GetAuthenticatorWithCallback(request *GetAuthenticatorRequest, ...) <-chan int
- func (client *Client) GetAuthenticatorWithChan(request *GetAuthenticatorRequest) (<-chan *GetAuthenticatorResponse, <-chan error)
- func (client *Client) ListAuthenticationLogs(request *ListAuthenticationLogsRequest) (response *ListAuthenticationLogsResponse, err error)
- func (client *Client) ListAuthenticationLogsWithCallback(request *ListAuthenticationLogsRequest, ...) <-chan int
- func (client *Client) ListAuthenticationLogsWithChan(request *ListAuthenticationLogsRequest) (<-chan *ListAuthenticationLogsResponse, <-chan error)
- func (client *Client) ListAuthenticatorOpsLogs(request *ListAuthenticatorOpsLogsRequest) (response *ListAuthenticatorOpsLogsResponse, err error)
- func (client *Client) ListAuthenticatorOpsLogsWithCallback(request *ListAuthenticatorOpsLogsRequest, ...) <-chan int
- func (client *Client) ListAuthenticatorOpsLogsWithChan(request *ListAuthenticatorOpsLogsRequest) (<-chan *ListAuthenticatorOpsLogsResponse, <-chan error)
- func (client *Client) ListAuthenticators(request *ListAuthenticatorsRequest) (response *ListAuthenticatorsResponse, err error)
- func (client *Client) ListAuthenticatorsWithCallback(request *ListAuthenticatorsRequest, ...) <-chan int
- func (client *Client) ListAuthenticatorsWithChan(request *ListAuthenticatorsRequest) (<-chan *ListAuthenticatorsResponse, <-chan error)
- func (client *Client) ListCostUnitOrders(request *ListCostUnitOrdersRequest) (response *ListCostUnitOrdersResponse, err error)
- func (client *Client) ListCostUnitOrdersWithCallback(request *ListCostUnitOrdersRequest, ...) <-chan int
- func (client *Client) ListCostUnitOrdersWithChan(request *ListCostUnitOrdersRequest) (<-chan *ListCostUnitOrdersResponse, <-chan error)
- func (client *Client) ListOrderConsumeStatisticRecords(request *ListOrderConsumeStatisticRecordsRequest) (response *ListOrderConsumeStatisticRecordsResponse, err error)
- func (client *Client) ListOrderConsumeStatisticRecordsWithCallback(request *ListOrderConsumeStatisticRecordsRequest, ...) <-chan int
- func (client *Client) ListOrderConsumeStatisticRecordsWithChan(request *ListOrderConsumeStatisticRecordsRequest) (<-chan *ListOrderConsumeStatisticRecordsResponse, <-chan error)
- func (client *Client) ListPwnedPasswords(request *ListPwnedPasswordsRequest) (response *ListPwnedPasswordsResponse, err error)
- func (client *Client) ListPwnedPasswordsWithCallback(request *ListPwnedPasswordsRequest, ...) <-chan int
- func (client *Client) ListPwnedPasswordsWithChan(request *ListPwnedPasswordsRequest) (<-chan *ListPwnedPasswordsResponse, <-chan error)
- func (client *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)
- func (client *Client) ListUsersWithCallback(request *ListUsersRequest, ...) <-chan int
- func (client *Client) ListUsersWithChan(request *ListUsersRequest) (<-chan *ListUsersResponse, <-chan error)
- func (client *Client) QuerySmsReports(request *QuerySmsReportsRequest) (response *QuerySmsReportsResponse, err error)
- func (client *Client) QuerySmsReportsWithCallback(request *QuerySmsReportsRequest, ...) <-chan int
- func (client *Client) QuerySmsReportsWithChan(request *QuerySmsReportsRequest) (<-chan *QuerySmsReportsResponse, <-chan error)
- func (client *Client) QuerySmsUps(request *QuerySmsUpsRequest) (response *QuerySmsUpsResponse, err error)
- func (client *Client) QuerySmsUpsWithCallback(request *QuerySmsUpsRequest, ...) <-chan int
- func (client *Client) QuerySmsUpsWithChan(request *QuerySmsUpsRequest) (<-chan *QuerySmsUpsResponse, <-chan error)
- func (client *Client) RegisterAuthenticator(request *RegisterAuthenticatorRequest) (response *RegisterAuthenticatorResponse, err error)
- func (client *Client) RegisterAuthenticatorWithCallback(request *RegisterAuthenticatorRequest, ...) <-chan int
- func (client *Client) RegisterAuthenticatorWithChan(request *RegisterAuthenticatorRequest) (<-chan *RegisterAuthenticatorResponse, <-chan error)
- func (client *Client) ServiceInvoke(request *ServiceInvokeRequest) (response *ServiceInvokeResponse, err error)
- func (client *Client) ServiceInvokeWithCallback(request *ServiceInvokeRequest, ...) <-chan int
- func (client *Client) ServiceInvokeWithChan(request *ServiceInvokeRequest) (<-chan *ServiceInvokeResponse, <-chan error)
- func (client *Client) UpdateAuthenticatorAttribute(request *UpdateAuthenticatorAttributeRequest) (response *UpdateAuthenticatorAttributeResponse, err error)
- func (client *Client) UpdateAuthenticatorAttributeWithCallback(request *UpdateAuthenticatorAttributeRequest, ...) <-chan int
- func (client *Client) UpdateAuthenticatorAttributeWithChan(request *UpdateAuthenticatorAttributeRequest) (<-chan *UpdateAuthenticatorAttributeResponse, <-chan error)
- func (client *Client) VerifyIdToken(request *VerifyIdTokenRequest) (response *VerifyIdTokenResponse, err error)
- func (client *Client) VerifyIdTokenWithCallback(request *VerifyIdTokenRequest, ...) <-chan int
- func (client *Client) VerifyIdTokenWithChan(request *VerifyIdTokenRequest) (<-chan *VerifyIdTokenResponse, <-chan error)
- func (client *Client) VerifyUserAuthentication(request *VerifyUserAuthenticationRequest) (response *VerifyUserAuthenticationResponse, err error)
- func (client *Client) VerifyUserAuthenticationWithCallback(request *VerifyUserAuthenticationRequest, ...) <-chan int
- func (client *Client) VerifyUserAuthenticationWithChan(request *VerifyUserAuthenticationRequest) (<-chan *VerifyUserAuthenticationResponse, <-chan error)
- type CreateAuthenticatorRegistrationRequest
- type CreateAuthenticatorRegistrationResponse
- type CreateUserAuthenticateOptionsRequest
- type CreateUserAuthenticateOptionsResponse
- type Data
- type DeregisterAuthenticatorRequest
- type DeregisterAuthenticatorResponse
- type FetchAccessTokenRequest
- type FetchAccessTokenResponse
- type GetAuthenticatorRequest
- type GetAuthenticatorResponse
- type Item
- type Items
- type ItemsInListCostUnitOrders
- type ItemsInListOrderConsumeStatisticRecords
- type ListAuthenticationLogsRequest
- type ListAuthenticationLogsResponse
- type ListAuthenticatorOpsLogsRequest
- type ListAuthenticatorOpsLogsResponse
- type ListAuthenticatorsRequest
- type ListAuthenticatorsResponse
- type ListCostUnitOrdersRequest
- type ListCostUnitOrdersResponse
- type ListOrderConsumeStatisticRecordsRequest
- type ListOrderConsumeStatisticRecordsResponse
- type ListPwnedPasswordsRequest
- type ListPwnedPasswordsResponse
- type ListUsersRequest
- type ListUsersResponse
- type PwnedPasswordInfos
- type QuerySmsReportsRequest
- type QuerySmsReportsResponse
- type QuerySmsUpsRequest
- type QuerySmsUpsResponse
- type RegisterAuthenticatorRequest
- type RegisterAuthenticatorResponse
- type ServiceInvokeRequest
- type ServiceInvokeResponse
- type SmsReports
- type SmsReportsItem
- type SmsUps
- type SmsUpsItem
- type UpdateAuthenticatorAttributeRequest
- type UpdateAuthenticatorAttributeResponse
- type Users
- type UsersItem
- type VerifyIdTokenRequest
- type VerifyIdTokenResponse
- type VerifyUserAuthenticationRequest
- type VerifyUserAuthenticationResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
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 AuthenticationLogContentInListAuthenticationLogs ¶
type AuthenticationLogContentInListAuthenticationLogs struct {
AuthenticationLogContentItem []AuthenticationLogContentItem `json:"authenticationLogContent" xml:"authenticationLogContent"`
}
AuthenticationLogContentInListAuthenticationLogs is a nested struct in idaas_doraemon response
type AuthenticationLogContentInListAuthenticatorOpsLogs ¶
type AuthenticationLogContentInListAuthenticatorOpsLogs struct {
AuthenticationLogContentItem []AuthenticationLogContentItem `json:"authenticationLogContent" xml:"authenticationLogContent"`
}
AuthenticationLogContentInListAuthenticatorOpsLogs is a nested struct in idaas_doraemon response
type AuthenticationLogContentItem ¶ added in v1.62.707
type AuthenticationLogContentItem 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"` }
AuthenticationLogContentItem 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 ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
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 ¶
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 ¶ added in v1.61.1632
func (client *Client) ListCostUnitOrders(request *ListCostUnitOrdersRequest) (response *ListCostUnitOrdersResponse, err error)
ListCostUnitOrders invokes the idaas_doraemon.ListCostUnitOrders API synchronously
func (*Client) ListCostUnitOrdersWithCallback ¶ added in v1.61.1632
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 ¶ added in v1.61.1632
func (client *Client) ListCostUnitOrdersWithChan(request *ListCostUnitOrdersRequest) (<-chan *ListCostUnitOrdersResponse, <-chan error)
ListCostUnitOrdersWithChan invokes the idaas_doraemon.ListCostUnitOrders API asynchronously
func (*Client) ListOrderConsumeStatisticRecords ¶ added in v1.61.1641
func (client *Client) ListOrderConsumeStatisticRecords(request *ListOrderConsumeStatisticRecordsRequest) (response *ListOrderConsumeStatisticRecordsResponse, err error)
ListOrderConsumeStatisticRecords invokes the idaas_doraemon.ListOrderConsumeStatisticRecords API synchronously
func (*Client) ListOrderConsumeStatisticRecordsWithCallback ¶ added in v1.61.1641
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 ¶ added in v1.61.1641
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) QuerySmsReports ¶ added in v1.62.707
func (client *Client) QuerySmsReports(request *QuerySmsReportsRequest) (response *QuerySmsReportsResponse, err error)
QuerySmsReports invokes the idaas_doraemon.QuerySmsReports API synchronously
func (*Client) QuerySmsReportsWithCallback ¶ added in v1.62.707
func (client *Client) QuerySmsReportsWithCallback(request *QuerySmsReportsRequest, callback func(response *QuerySmsReportsResponse, err error)) <-chan int
QuerySmsReportsWithCallback invokes the idaas_doraemon.QuerySmsReports API asynchronously
func (*Client) QuerySmsReportsWithChan ¶ added in v1.62.707
func (client *Client) QuerySmsReportsWithChan(request *QuerySmsReportsRequest) (<-chan *QuerySmsReportsResponse, <-chan error)
QuerySmsReportsWithChan invokes the idaas_doraemon.QuerySmsReports API asynchronously
func (*Client) QuerySmsUps ¶ added in v1.62.707
func (client *Client) QuerySmsUps(request *QuerySmsUpsRequest) (response *QuerySmsUpsResponse, err error)
QuerySmsUps invokes the idaas_doraemon.QuerySmsUps API synchronously
func (*Client) QuerySmsUpsWithCallback ¶ added in v1.62.707
func (client *Client) QuerySmsUpsWithCallback(request *QuerySmsUpsRequest, callback func(response *QuerySmsUpsResponse, err error)) <-chan int
QuerySmsUpsWithCallback invokes the idaas_doraemon.QuerySmsUps API asynchronously
func (*Client) QuerySmsUpsWithChan ¶ added in v1.62.707
func (client *Client) QuerySmsUpsWithChan(request *QuerySmsUpsRequest) (<-chan *QuerySmsUpsResponse, <-chan error)
QuerySmsUpsWithChan invokes the idaas_doraemon.QuerySmsUps 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 ¶ added in v1.61.1598
func (client *Client) VerifyIdToken(request *VerifyIdTokenRequest) (response *VerifyIdTokenResponse, err error)
VerifyIdToken invokes the idaas_doraemon.VerifyIdToken API synchronously
func (*Client) VerifyIdTokenWithCallback ¶ added in v1.61.1598
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 ¶ added in v1.61.1598
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 ¶ added in v1.61.1632
type Item struct { AliOrderInstanceId string `json:"AliOrderInstanceId" xml:"AliOrderInstanceId"` CreateTime int64 `json:"CreateTime" xml:"CreateTime"` Exhausted bool `json:"Exhausted" xml:"Exhausted"` 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 ¶ added in v1.61.1632
type ItemsInListCostUnitOrders struct {
Item []Item `json:"Item" xml:"Item"`
}
ItemsInListCostUnitOrders is a nested struct in idaas_doraemon response
type ItemsInListOrderConsumeStatisticRecords ¶ added in v1.61.1641
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 []AuthenticationLogContentItem `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 []AuthenticationLogContentItem `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 ¶ added in v1.61.1632
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 ¶ added in v1.61.1632
func CreateListCostUnitOrdersRequest() (request *ListCostUnitOrdersRequest)
CreateListCostUnitOrdersRequest creates a request to invoke ListCostUnitOrders API
type ListCostUnitOrdersResponse ¶ added in v1.61.1632
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 ¶ added in v1.61.1632
func CreateListCostUnitOrdersResponse() (response *ListCostUnitOrdersResponse)
CreateListCostUnitOrdersResponse creates a response to parse from ListCostUnitOrders response
type ListOrderConsumeStatisticRecordsRequest ¶ added in v1.61.1641
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"` ServiceCode string `position:"Query" name:"ServiceCode"` StatisticTimeMax string `position:"Query" name:"StatisticTimeMax"` ApplicationExternalId string `position:"Query" name:"ApplicationExternalId"` }
ListOrderConsumeStatisticRecordsRequest is the request struct for api ListOrderConsumeStatisticRecords
func CreateListOrderConsumeStatisticRecordsRequest ¶ added in v1.61.1641
func CreateListOrderConsumeStatisticRecordsRequest() (request *ListOrderConsumeStatisticRecordsRequest)
CreateListOrderConsumeStatisticRecordsRequest creates a request to invoke ListOrderConsumeStatisticRecords API
type ListOrderConsumeStatisticRecordsResponse ¶ added in v1.61.1641
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 ¶ added in v1.61.1641
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 []UsersItem `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 QuerySmsReportsRequest ¶ added in v1.62.707
type QuerySmsReportsRequest struct { *requests.RpcRequest EventId string `position:"Query" name:"EventId"` AppId string `position:"Query" name:"AppId"` }
QuerySmsReportsRequest is the request struct for api QuerySmsReports
func CreateQuerySmsReportsRequest ¶ added in v1.62.707
func CreateQuerySmsReportsRequest() (request *QuerySmsReportsRequest)
CreateQuerySmsReportsRequest creates a request to invoke QuerySmsReports API
type QuerySmsReportsResponse ¶ added in v1.62.707
type QuerySmsReportsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalElements int64 `json:"TotalElements" xml:"TotalElements"` SmsReports []SmsReportsItem `json:"SmsReports" xml:"SmsReports"` }
QuerySmsReportsResponse is the response struct for api QuerySmsReports
func CreateQuerySmsReportsResponse ¶ added in v1.62.707
func CreateQuerySmsReportsResponse() (response *QuerySmsReportsResponse)
CreateQuerySmsReportsResponse creates a response to parse from QuerySmsReports response
type QuerySmsUpsRequest ¶ added in v1.62.707
type QuerySmsUpsRequest struct {
*requests.RpcRequest
}
QuerySmsUpsRequest is the request struct for api QuerySmsUps
func CreateQuerySmsUpsRequest ¶ added in v1.62.707
func CreateQuerySmsUpsRequest() (request *QuerySmsUpsRequest)
CreateQuerySmsUpsRequest creates a request to invoke QuerySmsUps API
type QuerySmsUpsResponse ¶ added in v1.62.707
type QuerySmsUpsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalElements int64 `json:"TotalElements" xml:"TotalElements"` SmsUps []SmsUpsItem `json:"SmsUps" xml:"SmsUps"` }
QuerySmsUpsResponse is the response struct for api QuerySmsUps
func CreateQuerySmsUpsResponse ¶ added in v1.62.707
func CreateQuerySmsUpsResponse() (response *QuerySmsUpsResponse)
CreateQuerySmsUpsResponse creates a response to parse from QuerySmsUps 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"` EventId string `json:"EventId" xml:"EventId"` }
ServiceInvokeResponse is the response struct for api ServiceInvoke
func CreateServiceInvokeResponse ¶
func CreateServiceInvokeResponse() (response *ServiceInvokeResponse)
CreateServiceInvokeResponse creates a response to parse from ServiceInvoke response
type SmsReports ¶ added in v1.62.707
type SmsReports struct {
SmsReportsItem []SmsReportsItem `json:"smsReports" xml:"smsReports"`
}
SmsReports is a nested struct in idaas_doraemon response
type SmsReportsItem ¶ added in v1.62.707
type SmsReportsItem struct { Tid string `json:"Tid" xml:"Tid"` Mobile string `json:"Mobile" xml:"Mobile"` Code string `json:"Code" xml:"Code"` Stat string `json:"Stat" xml:"Stat"` Sn string `json:"Sn" xml:"Sn"` TenantId string `json:"TenantId" xml:"TenantId"` AppId string `json:"AppId" xml:"AppId"` EventId string `json:"EventId" xml:"EventId"` Time string `json:"Time" xml:"Time"` ChargedCount int `json:"ChargedCount" xml:"ChargedCount"` }
SmsReportsItem is a nested struct in idaas_doraemon response
type SmsUps ¶ added in v1.62.707
type SmsUps struct {
SmsUpsItem []SmsUpsItem `json:"smsUps" xml:"smsUps"`
}
SmsUps is a nested struct in idaas_doraemon response
type SmsUpsItem ¶ added in v1.62.707
type SmsUpsItem struct { PhoneNumber string `json:"PhoneNumber" xml:"PhoneNumber"` Content string `json:"Content" xml:"Content"` DestCode string `json:"DestCode" xml:"DestCode"` SequenceId string `json:"SequenceId" xml:"SequenceId"` TenantId string `json:"TenantId" xml:"TenantId"` SendTime string `json:"SendTime" xml:"SendTime"` }
SmsUpsItem is a nested struct in idaas_doraemon 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 {
UsersItem []UsersItem `json:"users" xml:"users"`
}
Users is a nested struct in idaas_doraemon response
type UsersItem ¶ added in v1.62.707
type UsersItem struct { UserId string `json:"UserId" xml:"UserId"` UserName string `json:"UserName" xml:"UserName"` UserDisplayName string `json:"UserDisplayName" xml:"UserDisplayName"` }
UsersItem is a nested struct in idaas_doraemon response
type VerifyIdTokenRequest ¶ added in v1.61.1598
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 ¶ added in v1.61.1598
func CreateVerifyIdTokenRequest() (request *VerifyIdTokenRequest)
CreateVerifyIdTokenRequest creates a request to invoke VerifyIdToken API
type VerifyIdTokenResponse ¶ added in v1.61.1598
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 ¶ added in v1.61.1598
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
Source Files ¶
- client.go
- create_authenticator_registration.go
- create_user_authenticate_options.go
- deregister_authenticator.go
- endpoint.go
- fetch_access_token.go
- get_authenticator.go
- list_authentication_logs.go
- list_authenticator_ops_logs.go
- list_authenticators.go
- list_cost_unit_orders.go
- list_order_consume_statistic_records.go
- list_pwned_passwords.go
- list_users.go
- query_sms_reports.go
- query_sms_ups.go
- register_authenticator.go
- service_invoke.go
- struct_authenticate_result_info.go
- struct_authentication_log_content_in_list_authentication_logs.go
- struct_authentication_log_content_in_list_authenticator_ops_logs.go
- struct_authentication_log_content_item.go
- struct_authenticator.go
- struct_authenticator_in_list_authenticators.go
- struct_authenticator_list_dto.go
- struct_data.go
- struct_item.go
- struct_items.go
- struct_items_in_list_cost_unit_orders.go
- struct_items_in_list_order_consume_statistic_records.go
- struct_pwned_password_infos.go
- struct_sms_reports.go
- struct_sms_reports_item.go
- struct_sms_ups.go
- struct_sms_ups_item.go
- struct_users.go
- struct_users_item.go
- update_authenticator_attribute.go
- verify_id_token.go
- verify_user_authentication.go