Internals

  • Platform-dependent authorizers must adopt this protocol.

    See more

    Declaration

    Swift

    public protocol OAuth2AuthorizerUI
  • The authorizer to use when on the macOS platform.

    You can subclass this class and override presentableAuthorizeViewController(url:) and/or windowController(controller:config:) to further customize appearance.

    See more

    Declaration

    Swift

    open class OAuth2Authorizer : OAuth2AuthorizerUI
  • Platform-dependent login presenters that present custom login views must adopt this protocol.

    See more

    Declaration

    Swift

    public protocol OAuth2CustomAuthorizerUI
  • Class, internally used, to store current authorization context, such as state and redirect-url.

    See more

    Declaration

    Swift

    open class OAuth2ContextStore
  • Keychain integration handler for OAuth2.

    See more

    Declaration

    Swift

    struct OAuth2KeychainAccount : KeychainGenericPasswordType
  • A view controller that allows you to display the login/authorization screen.

    See more

    Declaration

    Swift

    @available(OSX 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 more

    Declaration

    Swift

    open class OAuth2DataLoaderSessionTaskDelegate : NSObject, URLSessionTaskDelegate