$ModuleAuthentication$Typings extension
Properties
-
getSession
→ ({Future Function(String providerId, List<
String> scopes, Object options) $1, Future Function(String providerId, List<String> scopes, Object options) $2, Future Function(String providerId, List<String> scopes, [AuthenticationGetSessionOptions? options]) $3}) -
Available on $ModuleAuthentication, provided by the $ModuleAuthentication$Typings extension
Overload accessor: $1, $2, $3no setter -
onDidChangeSessions
→ Event<
AuthenticationSessionsChangeEvent> -
Available on $ModuleAuthentication, provided by the $ModuleAuthentication$Typings extension
An {@link Event} which fires when the authentication sessions of an authentication provider have been added, removed, or changed.no setter
Methods
-
registerAuthenticationProvider(
String id, String label, AuthenticationProvider provider, [AuthenticationProviderOptions? options]) → Disposable -
Available on $ModuleAuthentication, provided by the $ModuleAuthentication$Typings extension
Register an authentication provider.