Token #
Package : spaceone.api.identity.v2
Token #
Token Methods:
Method | Request | Response |
---|---|---|
issue | IssueTokenRequest | TokenInfo |
grant | GrantTokenRequest | GrantTokenInfo |
issue #
+noauth
POST /identity/v2/token/issue
grant #
+noauth
POST /identity/v2/token/grant
Message #
GrantTokenInfo #
access_token (string)
Required
role_type (RoleType)
Required
domain_id (string)
Required
workspace_id (string)
Required
role_id (string)
Required
GrantTokenRequest #
grant_type (GrantType)
Required
token (string)
Required
scope (Scope)
Required
timeout (int32)
permissions (string)
Repeated
domain_id (string)
workspace_id (string)
IssueTokenRequest #
credentials (Struct)
Required
domain_id (string)
Required
auth_type (AuthType)
LOCAL, EXTERNAL
timeout (int32)
verify_code (string)
if MFA is enabled, verify_code is required
TokenInfo #
access_token (string)
Required
refresh_token (string)
Required