OAuth2AuthConfig
public struct OAuth2AuthConfig
Simple struct to hold settings describing how authorization appears to the user.
-
Sub-stuct holding configuration relevant to UI presentation.
See moreDeclaration
Swift
public struct UI
-
Whether to use an embedded web view for authorization (true) or the OS browser (false, the default).
Declaration
Swift
public var authorizeEmbedded = false
-
Whether to automatically dismiss the auto-presented authorization screen.
Declaration
Swift
public var authorizeEmbeddedAutoDismiss = true
-
Context information for the authorization flow: - iOS: The parent view controller to present from - macOS: An NSWindow from which to present a modal sheet or
nil
to present in a new windowDeclaration
Swift
public var authorizeContext: AnyObject? = nil
-
UI-specific configuration.
Declaration
Swift
public var ui = UI()