OAuthRequest
public struct OAuthRequest : Codable, Equatable
Struct representing an OAuth request.
-
The grant type for the request.
Declaration
Swift
public var grantType: GrantType
-
The assertion string for authentication.
Declaration
Swift
public let assertion: String
-
The scope of the request. Concatenation of
OAuthScope
description
values separated by whitespaces.Declaration
Swift
public let scope: String
-
Initializes an OAuth request.
Declaration
Swift
public init( grantType: GrantType, assertion: String, scope: String )
Parameters
grantType
The grant type for the request.
assertion
The assertion string for authentication.
scope
The scope of the request. Concatenation of
OAuthScope
description
values separated by whitespaces.