public class

LineAuthenticationParams

extends Object
implements Parcelable
java.lang.Object
   ↳ com.linecorp.linesdk.auth.LineAuthenticationParams

Class Overview

Represents a container to hold necessary parameters for performing LINE Login, including permission scopes and the option to determine how to prompt the user to add a bot as a friend during the login process.

Summary

Nested Classes
enum LineAuthenticationParams.BotPrompt Represents an option to determine how to prompt the user to add a LINE Official Account as a friend during the login process. 
class LineAuthenticationParams.Builder Represents a builder to construct LineAuthenticationParams objects. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
LineAuthenticationParams.BotPrompt getBotPrompt()
Gets the option to determine how to prompt the user to add a bot as a friend during the login process.
String getNonce()
Gets a nonce (a string used to prevent replay attacks).
String getPromptBotID()
Gets the Prompt Bot Id.
List<Scope> getScopes()
Gets a list of scopes.
Locale getUILocale()
Gets the language in which login pages are displayed.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public LineAuthenticationParams.BotPrompt getBotPrompt ()

Gets the option to determine how to prompt the user to add a bot as a friend during the login process.

Returns
  • The option to determine how to prompt the user to add a bot as a friend.

public String getNonce ()

Gets a nonce (a string used to prevent replay attacks). This value is returned in an ID token.

Returns
  • nonce string

public String getPromptBotID ()

Gets the Prompt Bot Id.

Returns
  • the ID of prompt bot

public List<Scope> getScopes ()

Gets a list of scopes.

Returns
  • The list of scopes.

public Locale getUILocale ()

Gets the language in which login pages are displayed.

Returns
  • The language in which login pages are displayed.