Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeAuthorizationMessageReq ¶
type DecodeAuthorizationMessageReq struct { // 加密的鉴权失败原因。 EncodedMessage string `json:"encoded_message"` }
DecodeAuthorizationMessageReq 接口/v5/decode-authorization-message的Http请求体。
func (DecodeAuthorizationMessageReq) String ¶
func (o DecodeAuthorizationMessageReq) String() string
type DecodeAuthorizationMessageRequest ¶
type DecodeAuthorizationMessageRequest struct { // 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 XSecurityToken *string `json:"X-Security-Token,omitempty"` Body *DecodeAuthorizationMessageReq `json:"body,omitempty"` }
DecodeAuthorizationMessageRequest Request Object
func (DecodeAuthorizationMessageRequest) String ¶
func (o DecodeAuthorizationMessageRequest) String() string
type DecodeAuthorizationMessageResponse ¶
type DecodeAuthorizationMessageResponse struct { // 鉴权失败原因的明文。 DecodedMessage *string `json:"decoded_message,omitempty"` HttpStatusCode int `json:"-"` }
DecodeAuthorizationMessageResponse Response Object
func (DecodeAuthorizationMessageResponse) String ¶
func (o DecodeAuthorizationMessageResponse) String() string
type GetCallerIdentityRequest ¶
type GetCallerIdentityRequest struct { // 通过临时访问密钥调用接口时,需要提供“X-Security-Token”Http头,取值为临时访问密钥的security_token字段。 XSecurityToken *string `json:"X-Security-Token,omitempty"` }
GetCallerIdentityRequest Request Object
func (GetCallerIdentityRequest) String ¶
func (o GetCallerIdentityRequest) String() string
type GetCallerIdentityResponse ¶
type GetCallerIdentityResponse struct { // 华为云账号ID。 AccountId *string `json:"account_id,omitempty"` // 主体URN。 PrincipalUrn *string `json:"principal_urn,omitempty"` // 主体ID。 PrincipalId *string `json:"principal_id,omitempty"` HttpStatusCode int `json:"-"` }
GetCallerIdentityResponse Response Object
func (GetCallerIdentityResponse) String ¶
func (o GetCallerIdentityResponse) String() string
Click to show internal directories.
Click to hide internal directories.