LoginOption class
Options related to LINE login process.
Constructors
- LoginOption(bool onlyWebLogin, String botPrompt, {int requestCode = DEFAULT_ACTIVITY_RESULT_REQUEST_CODE})
Properties
- botPrompt ↔ String
-
Strategy to use for displaying "add the LINE Official Account as friend" option on consent screen:
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- idTokenNonce ↔ String?
-
Sets the nonce value for ID token verification. This value is used when requesting user authorization
with
.openID
permission to prevent replay attacks to your backend server. If not set, LINE SDK will generate a random value as the token nonce. Whether set or not, LINE SDK verifies against the nonce value in received ID token locally.getter/setter pair - onlyWebLogin ↔ bool
-
Enable to use web authentication flow instead of LINE app-to-app authentication flow.
getter/setter pair
- requestCode ↔ int
-
Request code that LINE login activity will be called with.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- DEFAULT_ACTIVITY_RESULT_REQUEST_CODE → const int
- Default request code that LINE login activity (in Android Platform) will be called with.