OAuthProviderPublic class final
The redacted view of an OAuthProvider the dashboard and Dart client are
allowed to see — no clientSecret, no Apple private key, no token or
userinfo endpoint. Produced by OAuthProvider.toPublic.
Constructors
- OAuthProviderPublic({required String id, required String displayName, required String table, required OAuthProviderKind kind, required String startPath, String? iconUrl, String? iconSvg, String? background, String? foreground})
-
const
-
OAuthProviderPublic.fromJson(Map<
String, Object?> json) -
factory
Properties
- background → String?
-
final
- displayName → String
-
final
- foreground → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconSvg → String?
-
Custom providers only; built-ins resolve their icon from kind.
final
- iconUrl → String?
-
Custom providers only; built-ins resolve their icon from kind.
final
- id → String
-
final
- kind → OAuthProviderKind
-
customfor anything built withOAuthProvider.custom(...)— picks the bundled icon for built-ins, tells the dashboard to fall back to iconUrl/iconSvg/a letter tile otherwise.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startPath → String
-
Where the dashboard/client sends the user to begin this provider's
flow, e.g.
'/auth/oauth/start/google?table=users'.final - table → String
-
Auth collection this provider belongs to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited