//[passport](../../../../index.md)/[com.yandex.passport.api](../../index.md)/[PassportCredentials](../index.md)/[Factory](index.md)/[from](from.md)

# from

[passport]\

@JvmStatic

fun [from](from.md)(encryptedId: String, encryptedSecret: String): [PassportCredentials](../index.md)

Создаёт контейнер для зашифрованной пары client id / client secret.<br></br>

#### Return

[PassportCredentials](../index.md)

## See also

passport

| | |
|---|---|
| [com.yandex.passport.api.Passport](../../../../passport/com.yandex.passport.api/-passport/create-passport-credentials.md) |  |

## Parameters

passport

| | |
|---|---|
| encryptedId | зашифрованный client id |
| encryptedSecret | зашифрованный client secret |
