# Token

> **Package : spaceone.api.identity.v1**

\
\


## Token

**Token Methods:**

| Method                                                                                                             | Request                                                                                                                            | Response                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [**issue**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/Token/README.md#issue)     | [IssueTokenRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/Token/README.md#issuetokenrequest) | [TokenInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/Token/README.md#tokeninfo) |
| [**refresh**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/Token/README.md#refresh) | [Empty](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/Token/README.md#empty)                         | [TokenInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/Token/README.md#tokeninfo) |

\


### issue

+noauth

> **POST** /identity/v1/token/issue

\


### refresh

+noauth

> **POST** /identity/v1/token/refresh

\
\


## Message

### IssueTokenRequest

* **credentials** (Struct) `Required`
* **domain\_id** (string) `Required`
* **user\_id** (string)
*   **user\_type** (string)

    _LOCAL, EXTERNAL_
* **timeout** (int32)
* **refresh\_count** (int32)
*   **verify\_code** (string)

    _if MFA is enabled, verify\_code is required_

    \


### TokenInfo

* **access\_token** (string) `Required`
*   **refresh\_token** (string) `Required`

    \
