AuthorizationParameters

public struct AuthorizationParameters
extension AuthorizationParameters: Equatable, Hashable

Parameters provided in an incoming OAuth request.

This struct represents parameters obtained from an incoming OAuth request - that is, the values that an OAuth client would append to the authorization URL when initiating an OAuth sign-in flow.

  • Declaration

    Swift

    public var clientId: String
  • Declaration

    Swift

    public var scope: [String]
  • Declaration

    Swift

    public var state: String
  • Declaration

    Swift

    public var accessType: String
  • Declaration

    Swift

    public var codeChallenge: String?
  • Declaration

    Swift

    public var codeChallengeMethod: String?
  • Declaration

    Swift

    public var keysJwk: String?
  • Declaration

    Swift

    public init(clientId: String, scope: [String], state: String, accessType: String, codeChallenge: String?, codeChallengeMethod: String?, keysJwk: String?)
  • Declaration

    Swift

    public static func == (lhs: AuthorizationParameters, rhs: AuthorizationParameters) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)