CIAAuthContextExtension extension

Extension methods for BuildContext to access auth state

on

Properties

currentUser → CIAUser?

Available on BuildContext, provided by the CIAAuthContextExtension extension

Get the current user
no setter
isAuthenticated → bool

Available on BuildContext, provided by the CIAAuthContextExtension extension

Check if user is authenticated
no setter
readAuth → CIAAuthState

Available on BuildContext, provided by the CIAAuthContextExtension extension

Get the current auth state (not listening to changes)
no setter
watchAuth → CIAAuthState

Available on BuildContext, provided by the CIAAuthContextExtension extension

Get the current auth state (listening to changes)
no setter