LoginManagerOptions
@available(*, deprecated, message: "Use `LoginManager.Parameters` type instead.")
public struct LoginManagerOptions : OptionSet
Warning
Deprecated. UseLoginManager.Parameters
type instead.
Represents options for logging in to the LINE Platform using the LoginManager
class.
-
The raw value of an option.
Declaration
Swift
public let rawValue: Int
-
Initializes an option from a raw value.
Declaration
Swift
public init(rawValue: Int)
Parameters
rawValue
The underlying raw value of an option.
-
Warning
Deprecated. UseLoginManager.Parameters.onlyWebLogin
instead.Uses the web authentication flow instead of the LINE app-to-app authentication flow.
Declaration
Swift
@available(*, deprecated, message: "Use `LoginManager.Parameters.onlyWebLogin` instead.") public static let onlyWebLogin: LoginManagerOptions
-
Warning
Deprecated. UseLoginManager.Parameters.botPromptStyle
instead.Includes an option to add a bot as friend on the consent screen. If
.botPromptNormal
and.botPromptAggressive
are set at the same time,.botPromptAggressive
will be used.Declaration
Swift
@available(*, deprecated, message: "Use `LoginManager.Parameters.botPromptStyle` instead.") public static let botPromptNormal: LoginManagerOptions
-
Warning
Deprecated. UseLoginManager.Parameters.botPromptStyle
instead.Opens a new screen to add a bot as a friend after the user agrees to the permissions on the consent screen. If
.botPromptNormal
and.botPromptAggressive
is set at the same time,.botPromptAggressive
will be used.Declaration
Swift
@available(*, deprecated, message: "Use `LoginManager.Parameters.botPromptStyle` instead.") public static let botPromptAggressive: LoginManagerOptions