OAuthScope
public enum OAuthScope : Equatable, Encodable
Enum representing the OAuth scope.
-
Provisioning scope for wallet.
Declaration
Swift
case provisioning
-
Payment scope for requesting payments.
Declaration
Swift
case payment
-
Peer-to-peer scope for transferring money.
Declaration
Swift
case p2p
-
Unknown scope capturing decoded unexpected value.
Declaration
Swift
case unknown(String)
-
A textual representation of the scope.
Declaration
Swift
public var description: String { get }
-
Encodes the
OAuthScope
enum to the given encoder.Throws
An error if any values are invalid for encoding.Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
The encoder to write data to.