//[passport](../../../index.md)/[com.yandex.passport.api](../index.md)/[PassportDeviceCode](index.md)

# PassportDeviceCode

[passport]\
interface [PassportDeviceCode](index.md)

Используется для передачи авторизации с одного устройства на другое

## See also

passport

| | |
|---|---|
| &lt;a href=&quot;https://wiki.yandex-team.ru/oauth/api/#/device/code&quot;&gt;описание на wiki&lt;/a&gt; |  |

## Functions

| Name | Summary |
|---|---|
| [getDeviceCode](get-device-code.md) | [passport]<br>@NonNull<br>abstract fun [getDeviceCode](get-device-code.md)(): String |
| [getExpiresIn](get-expires-in.md) | [passport]<br>abstract fun [getExpiresIn](get-expires-in.md)(): Int |
| [getInterval](get-interval.md) | [passport]<br>abstract fun [getInterval](get-interval.md)(): Int |
| [getUserCode](get-user-code.md) | [passport]<br>@NonNull<br>abstract fun [getUserCode](get-user-code.md)(): String |
| [getVerificationUrl](get-verification-url.md) | [passport]<br>abstract fun [getVerificationUrl](get-verification-url.md)(): String |
