AuthParamsBuilder class
A builder for AuthParams.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → AuthParams - Builds AuthParams instance with values provided earlier.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withAuthFlow(
AuthFlowData authFlowData) → AuthParamsBuilder - Specifies an auth flow which you want to use. See AuthFlowData for more info.
-
withLocale(
AuthLocale? locale) → AuthParamsBuilder - Specifies a language which will be used during auth process.
-
withOAuth(
OAuth? oAuth) → AuthParamsBuilder - Specifies the OAuth to be used for auth.
-
withScopes(
Set< String> scopes) → AuthParamsBuilder - Specifies a set of scopes which will be requested from user.
-
withTheme(
AuthTheme? theme) → AuthParamsBuilder - Specifies a theme which will be used during auth process.
-
withUseOAuthProviderIfPossible(
bool useOAuthProviderIfPossible) → AuthParamsBuilder - Specifies whether to use auth providers (other apps from VK ecosystem) to get auth credentials from.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited