FastCommentsSSO class

Constructors

FastCommentsSSO.secure({required String apiKey, required SecureSSOUserData user, String? loginUrl, String? logoutUrl})
Build a signed (verified) SSO payload.
factory
FastCommentsSSO.simple(SimpleSSOUserData user)
Build an unverified (simple) SSO payload. Treated as anonymous server-side.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
loginCallback ↔ void Function(String token)?
Optional callbacks fired by your widget integration when the user logs in / out. The Flutter library forwards these from its UI events.
getter/setter pair
loginUrl ↔ String?
getter/setter pair
logoutCallback ↔ void Function(String token)?
getter/setter pair
logoutUrl ↔ String?
getter/setter pair
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
prepareToSend() → String
Returns the JSON-encoded sso value, exactly as the Java/Rust/Go SDKs do in their prepareToSend() helpers. The caller is responsible for URL-encoding when placing it on a query string.
toString() → String
A string representation of this object.
inherited

Operators

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