//[passport](../../../../index.md)/[com.yandex.passport.api](../../index.md)/[PassportTurboAppAuthProperties](../index.md)/[Builder](index.md)/[setEnvironment](set-environment.md)

# setEnvironment

[passport]\
abstract fun [setEnvironment](set-environment.md)(@NonNullenvironment: [PassportEnvironment](../../-passport-environment/index.md)): [PassportTurboAppAuthProperties.Builder](index.md)

Окружение в котором должна происходить авторизация.  Если выставлен [setUid](set-uid.md), то environment берется из uid.

## See also

passport

| | |
|---|---|
| [com.yandex.passport.api.Passport](../../-passport/-p-a-s-s-p-o-r-t_-e-n-v-i-r-o-n-m-e-n-t_-r-c.md) |  |
