AuthyoSocialLogin class

One social login button as configured on the dashboard.

Constructors

AuthyoSocialLogin({required AuthyoSocialProvider provider, required String id, String? iconUrl})
const
AuthyoSocialLogin.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
iconUrl String?
Optional icon override served by the backend.
final
id String
socialMediaLoginId on the backend — sent to /authlogin to build the provider authorization URL.
final
label String
no setter
provider AuthyoSocialProvider
Which identity provider.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromLegacyEntry(String entry) AuthyoSocialLogin?
Parses the legacy "Google,123" / "GoogleOneTap,5*clientId" entries the web CDN endpoint mixes into its results array. Returns null for plain auth-method entries such as "Sms".