AuthSession
public protocol AuthSession
Defines the auth session behavior
-
Indicates whether a user is signed in or not
true
if a user is authenticated.isSignedIn
remainstrue
till we callAmplify.Auth.signOut
. Please note that this value remainstrue
even when the session is expired. Refer the underlying plugin documentation regarding how to handle session expiry.Declaration
Swift
var isSignedIn: Bool { get }