OAuth2ImplicitGrant

open class OAuth2ImplicitGrant: OAuth2

Class to handle OAuth2 requests for public clients, such as distributed Mac/iOS Apps.

  • Class to handle OAuth2 requests for public clients, such as distributed Mac/iOS Apps.

    Declaration

    Swift

    override open class var grantType: String
  • Class to handle OAuth2 requests for public clients, such as distributed Mac/iOS Apps.

    Declaration

    Swift

    override open class var responseType: String?
  • Class to handle OAuth2 requests for public clients, such as distributed Mac/iOS Apps.

    Declaration

    Swift

    override open func handleRedirectURL(_ redirect: URL)

    Parameters

    redirect

    The redirect URL returned by the server that you want to handle

  • Declaration

    Swift

    override open func assureAccessTokenParamsAreValid(_ params: OAuth2JSON) throws