AuthStateExtensions extension

on

Properties

accessToken String?

Available on AuthState, provided by the AuthStateExtensions extension

Returns the accessToken if the AuthState is Authenticated. Returns null otherwise.
no setter
isAuthenticated bool

Available on AuthState, provided by the AuthStateExtensions extension

Returns true if the AuthState is Authenticated.
no setter
isUnauthenticated bool

Available on AuthState, provided by the AuthStateExtensions extension

Returns true if the AuthState is Unauthenticated.
no setter
userId int?

Available on AuthState, provided by the AuthStateExtensions extension

Returns the userId if the AuthState is Authenticated. Returns null otherwise.
no setter