LineScope
A LINE Login permission scope.
Deliberately an open value type rather than an enum: LINE adds scopes over time, and both native SDKs model them as open values too (Scope(String) on Android, LoginPermission on iOS). An enum here would mean a release of this library for every scope LINE invents.
The three scopes exposed as constants are the ones available to every channel. Anything else — including scopes that need extra approval — goes through the constructor:
LineLoginRequest(scopes = setOf(LineScope.Profile, LineScope.OpenId, LineScope("openchat")))Content copied to clipboard