跳到主要内容

Authenticate

调用该接口Authorization 认证。

Request

get \authenticate

Request Parameters

NameLocated inTypeDescriptionRequired
pathquerystringurl pathfalse
verbquerystringhttp verbfalse

Response

Response 200

Code2DescriptionTypeSchema
200OKObjectapiauthenticationv1AuthenticateResponse

apiauthenticationv1AuthenticateResponse

NameTypeDescription
destinationstringdst plugin id
methodstringdst plugin method
rolestringrole
tenant_idstringtenant id
user_idstringuser id

Response 400

Code3DescriptionType
400INVALID_ARG{ { }}

Response 500

Code3DescriptionType
500INTERNAL_ERROR{ { }}

Response default

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus

NameTypeDescription
codeinteger
detailsArray[protobufAny][ 具体参数可见下面 protobufAny ]
messagestring

protobufAny

NameTypeDescription
@typestring