public static final class LineAuthenticationParams.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LineAuthenticationParams.Builder |
botPrompt(LineAuthenticationParams.BotPrompt val)
Sets the option to determine how to prompt the user to add a bot as a friend.
|
LineAuthenticationParams |
build()
Builds LineAuthenticationParams objects.
|
LineAuthenticationParams.Builder |
nonce(java.lang.String val)
Sets nonce to the builder.
|
LineAuthenticationParams.Builder |
scopes(java.util.List<Scope> val)
Sets scopes to the builder.
|
LineAuthenticationParams.Builder |
uiLocale(java.util.Locale val)
Sets the language in which to display login pages.
|
public LineAuthenticationParams.Builder scopes(java.util.List<Scope> val)
val - A list of scopes.public LineAuthenticationParams.Builder nonce(java.lang.String val)
val - A string used to prevent replay attacks. This value is returned in an ID token.
If this parameter is not specified, LINE SDK will generate a value for it.public LineAuthenticationParams.Builder botPrompt(LineAuthenticationParams.BotPrompt val)
val - The option to determine how to prompt the user to add a bot as a friend.public LineAuthenticationParams.Builder uiLocale(java.util.Locale val)
val - The language in which to display login pages.public LineAuthenticationParams build()