AuthServicesInit extension

Extension to initialize the AuthServices with the default configuration.

on
  • Serverpod

Methods

initializeAuthServices({required List<TokenManagerBuilder<TokenManager>> tokenManagerBuilders, List<IdentityProviderBuilder<Object>> identityProviderBuilders = const [], AuthUsersConfig authUsersConfig = const AuthUsersConfig(), UserProfileConfig userProfileConfig = const UserProfileConfig()}) → void

Available on Serverpod, provided by the AuthServicesInit extension

Creates a new AuthServices instance and sets it as the global instance.