API referenceovok_sdk.resources
ovok_sdk.resources.adopted_session
Checks the tokens of a session signed in to by another client, for `ovok.auth.adopt_session`.
- Stable unknown
- Release candidate not available
- Development since 0.2.0-dev.34+53a6a64
Checks the tokens of a session signed in to by another client, for ovok.auth.adopt_session.
login_tokens_from_adopted()
login_tokens_from_adopted(adopted: Mapping[str, Any]) -> dict[str, Any]Turn an adopted session into the body of a sign-in response.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
adopted | Mapping[str, Any] | accessToken, profile and optional refreshToken, expiresIn and project. |
Returns
dict[str, Any]: The tokensUserSession.begintakes.
Raises
OvokValidationError: A field is missing or malformed.
Last updated on