AuthConfig class

Constructors

AuthConfig({required String table, required String emailColumn, required String passwordColumn, String? nameColumn, String? providerColumn, String? providerIdColumn, String? googleClientId, String? googleClientSecret, String? githubClientId, String? githubClientSecret, String? facebookClientId, String? facebookClientSecret, String? appleClientId, String? appleTeamId, String? appleKeyId, String? applePrivateKey, required String redirectBase, String? jwtSecret, int jwtExpiryHours = 24, int accessTokenExpiryMinutes = 60, bool enableRefreshTokens = false, int refreshTokenExpiryDays = 30, bool enableLoginThrottle = false, int loginMaxAttempts = 5, int loginLockMinutes = 15, bool requireEmailVerification = false, int passwordMinLength = 6})

Properties

accessTokenExpiryMinutes → int
final
appleClientId → String?
final
appleKeyId → String?
final
applePrivateKey → String?
final
appleTeamId → String?
final
configuredProviders → Map<String, bool>
no setter
emailColumn → String
final
enableLoginThrottle → bool
final
enableRefreshTokens → bool
final
facebookClientId → String?
final
facebookClientSecret → String?
final
githubClientId → String?
final
githubClientSecret → String?
final
googleClientId → String?
final
googleClientSecret → String?
final
hashCode → int
The hash code for this object.
no setterinherited
isAppleConfigured → bool
no setter
isFacebookConfigured → bool
no setter
isGitHubConfigured → bool
no setter
isGoogleConfigured → bool
no setter
jwtExpiryHours → int
final
jwtSecret → String?
final
loginLockMinutes → int
final
loginMaxAttempts → int
final
nameColumn → String?
final
passwordColumn → String
final
passwordMinLength → int
final
providerColumn → String?
final
providerIdColumn → String?
final
redirectBase → String
final
refreshTokenExpiryDays → int
final
requireEmailVerification → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String
final

Methods

copyWith({String? table, String? emailColumn, String? passwordColumn, String? nameColumn, String? providerColumn, String? providerIdColumn, String? googleClientId, String? googleClientSecret, String? githubClientId, String? githubClientSecret, String? facebookClientId, String? facebookClientSecret, String? appleClientId, String? appleTeamId, String? appleKeyId, String? applePrivateKey, String? redirectBase, String? jwtSecret, int? jwtExpiryHours, int? accessTokenExpiryMinutes, bool? enableRefreshTokens, int? refreshTokenExpiryDays, bool? enableLoginThrottle, int? loginMaxAttempts, int? loginLockMinutes, bool? requireEmailVerification, int? passwordMinLength}) → AuthConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
validate() → Map<String, dynamic>

Operators

operator ==(Object other) → bool
The equality operator.
inherited