Documentation ¶
Index ¶
- func GenReqDefForDecodeAuthorizationMessage() *def.HttpRequestDef
- func GenReqDefForGetCallerIdentity() *def.HttpRequestDef
- func StsClientBuilder() *httpclient.HcHttpClientBuilder
- type DecodeAuthorizationMessageInvoker
- type GetCallerIdentityInvoker
- type StsClient
- func (c *StsClient) DecodeAuthorizationMessage(request *model.DecodeAuthorizationMessageRequest) (*model.DecodeAuthorizationMessageResponse, error)
- func (c *StsClient) DecodeAuthorizationMessageInvoker(request *model.DecodeAuthorizationMessageRequest) *DecodeAuthorizationMessageInvoker
- func (c *StsClient) GetCallerIdentity(request *model.GetCallerIdentityRequest) (*model.GetCallerIdentityResponse, error)
- func (c *StsClient) GetCallerIdentityInvoker(request *model.GetCallerIdentityRequest) *GetCallerIdentityInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForDecodeAuthorizationMessage ¶
func GenReqDefForDecodeAuthorizationMessage() *def.HttpRequestDef
func GenReqDefForGetCallerIdentity ¶
func GenReqDefForGetCallerIdentity() *def.HttpRequestDef
func StsClientBuilder ¶
func StsClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type DecodeAuthorizationMessageInvoker ¶
type DecodeAuthorizationMessageInvoker struct {
*invoker.BaseInvoker
}
func (*DecodeAuthorizationMessageInvoker) Invoke ¶
func (i *DecodeAuthorizationMessageInvoker) Invoke() (*model.DecodeAuthorizationMessageResponse, error)
type GetCallerIdentityInvoker ¶
type GetCallerIdentityInvoker struct {
*invoker.BaseInvoker
}
func (*GetCallerIdentityInvoker) Invoke ¶
func (i *GetCallerIdentityInvoker) Invoke() (*model.GetCallerIdentityResponse, error)
type StsClient ¶
type StsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewStsClient ¶
func NewStsClient(hcClient *httpclient.HcHttpClient) *StsClient
func (*StsClient) DecodeAuthorizationMessage ¶
func (c *StsClient) DecodeAuthorizationMessage(request *model.DecodeAuthorizationMessageRequest) (*model.DecodeAuthorizationMessageResponse, error)
DecodeAuthorizationMessage 解密鉴权失败的原因
解密鉴权失败的原因。
Please refer to HUAWEI cloud API Explorer for details.
func (*StsClient) DecodeAuthorizationMessageInvoker ¶
func (c *StsClient) DecodeAuthorizationMessageInvoker(request *model.DecodeAuthorizationMessageRequest) *DecodeAuthorizationMessageInvoker
DecodeAuthorizationMessageInvoker 解密鉴权失败的原因
func (*StsClient) GetCallerIdentity ¶
func (c *StsClient) GetCallerIdentity(request *model.GetCallerIdentityRequest) (*model.GetCallerIdentityResponse, error)
GetCallerIdentity 获取调用者身份信息
获取调用者(华为云用户,代理等)身份信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*StsClient) GetCallerIdentityInvoker ¶
func (c *StsClient) GetCallerIdentityInvoker(request *model.GetCallerIdentityRequest) *GetCallerIdentityInvoker
GetCallerIdentityInvoker 获取调用者身份信息
Click to show internal directories.
Click to hide internal directories.