Internals
-
Platform-dependent authorizers must adopt this protocol.
See moreDeclaration
Swift
public protocol OAuth2AuthorizerUI
-
The authorizer to use when on the macOS platform.
You can subclass this class and override
See morepresentableAuthorizeViewController(url:)
and/orwindowController(controller:config:)
to further customize appearance.Declaration
Swift
open class OAuth2Authorizer : OAuth2AuthorizerUI
-
Platform-dependent login presenters that present custom login views must adopt this protocol.
See moreDeclaration
Swift
public protocol OAuth2CustomAuthorizerUI
-
A macOS-specific implementation of the
See moreOAuth2CustomAuthorizerUI
protocol which simply present the login controller as a sheet over another controller.Declaration
Swift
public class OAuth2CustomAuthorizer : OAuth2CustomAuthorizerUI
-
Class, internally used, to store current authorization context, such as state and redirect-url.
See moreDeclaration
Swift
open class OAuth2ContextStore
-
Keychain integration handler for OAuth2.
See moreDeclaration
Swift
struct OAuth2KeychainAccount : KeychainGenericPasswordType
-
A view controller that allows you to display the login/authorization screen.
See moreDeclaration
Swift
@available(macOS 10.10, *) public class OAuth2WebViewController : NSViewController, WKNavigationDelegate, NSWindowDelegate
-
Simple implementation of a session task delegate, which looks at HTTP redirecting, approving redirects in the same domain and re-signing the redirected request.
See moreDeclaration
Swift
open class OAuth2DataLoaderSessionTaskDelegate : NSObject, URLSessionTaskDelegate