LinkTokenConfiguration class
The LinkTokenConfiguration only needs a link_token which is created by your app's server and passed to your app's client to initialize Link. The Link configuration parameters that were previously set within Link itself are now set via parameters passed to /link/token/create and conveyed to Link via the link_token.
Constructors
- LinkTokenConfiguration({required String token, bool noLoadingState = false, String? receivedRedirectUri})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- noLoadingState → bool
-
MOBILE ONLY: A bool indicating that Link should skip displaying a loading animation and Link UI will be presented once it is fully loaded.
final
- receivedRedirectUri → String?
-
WEB ONLY: A receivedRedirectUri is required to support OAuth authentication flows when re-launching Link on a mobile device.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
Specify a link_token to authenticate your app with Link. This is a short lived, one-time use token that should be unique for each Link session
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a representation of this object as a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override