LineLoginConfig

class LineLoginConfig(val channelId: String, val universalLinkUrl: String? = null, val liffId: String? = null)

Everything the LINE SDKs need to identify your app.

Pass it to LineLogin.configure once, before any other call.

Constructors

Link copied to clipboard
constructor(channelId: String, universalLinkUrl: String? = null, liffId: String? = null)

Properties

Link copied to clipboard

The LINE Login channel ID from the LINE Developers Console. This is a public identifier — it ships inside every APK and IPA either way — so hard-coding it is fine. The channel secret is a different value, is confidential, and is never needed by a client app.

Link copied to clipboard

Web (wasmJs) only, ignored on Android and iOS, and required on web. The ID of a LIFF app added to this channel in the LINE Developers Console. The browser login runs on LIFF, LINE's official JavaScript SDK, because LINE's plain OAuth token exchange demands the channel secret — which must never ship in a browser — and LIFF is LINE's own flow that works without it. Create one under the channel's LIFF tab; its endpoint URL must be the page this app is served from.

Link copied to clipboard

iOS only, ignored on Android. When set, LINE returns to your app through this universal link instead of the line3rdp.<bundle id> URL scheme, which removes the "Open in …?" confirmation dialog during app-to-app login. It must be a URL your app already handles via an applinks: associated domain, and the same URL must be registered in the console. Leave it null to use the URL scheme.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String