Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSCore/loginWithToken

loginWithToken

[androidJvm]\ open fun loginWithToken(@NonNullaccessToken: String, accessTokenExpiration: Long, @NonNullrefreshToken: String, refreshTokenExpiration: Long, @NullableipsDomain: String, @NullabledeviceId: String, @Nullablelistener: IPSLoginListener)

Since

9.10.0

Parameters

androidJvm

accessToken the access token (JWT) to authenticate requests with.
accessTokenExpiration epoch milliseconds at which accessToken expires. An access token without an expiration is invalid.
refreshToken the raw refreshToken cookie that came with accessToken.
refreshTokenExpiration epoch milliseconds at which refreshToken expires.
ipsDomain your IPS name as provided by Oriient, or null for the default.
deviceId unique ID for this device. Used for cloud state saving/restoring, and required for spaces that save calibration remotely - login fails with INVALID_INPUT without it in that case. May be null otherwise.
listener a listener for receiving the login operation response.