LinkService class abstract
- Annotations
-
- @ChopperApi()
Constructors
Properties
- client ↔ ChopperClient
-
getter/setter pairinherited
- definitionType → Type
-
Used internally to retrieve the service from
ChopperClient
.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createLink(
String userId, String? provider, String redirectUrl, {List< String> ? filterOnProviders}) → Future<Response< CreateLinkResponse> > -
createManualProvider(
String userId, String provider) → Future< Response< Void> > -
emailProvider(
{required String provider, required String email, required Region region, required String linkToken}) → Future< Response< EmailProviderResponse> > -
exchangeOAuthCode(
{required String provider, required String code, required String linkToken}) → Future< Response< NoContent> > -
isTokenValid(
{required IsLinkTokenValidRequest request}) → Future< Response< NoContent> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
oauthProvider(
{required String provider, required String linkToken}) → Future< Response< OauthLinkResponse> > -
passwordProvider(
{required String provider, required String username, required String password, required String redirectUrl, required String linkToken}) → Future< Response< EmailProviderResponse> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
Client httpClient, Uri baseUrl, RequestInterceptor authInterceptor) → LinkService