UserAccount.FederatedAccount

class UserAccount.FederatedAccount : UserAccount


A federated account associated with a HomeClientWithProvidedAccount.

Note: FederatedAccount equality is based solely on the jwt property.

Summary

Public constructors

FederatedAccount(jwt: String, refreshJwt: suspend () -> String)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

String

The JSON Web Token (JWT) representing the user account.

suspend () -> String

A suspend function to refresh the JWT when it expires, returning the new JWT.

Public constructors

FederatedAccount

FederatedAccount(jwt: String, refreshJwt: suspend () -> String)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

jwt

val jwtString

The JSON Web Token (JWT) representing the user account.

refreshJwt

val refreshJwt: suspend () -> String

A suspend function to refresh the JWT when it expires, returning the new JWT.