Credentials

public struct Credentials : Codable

A Credential is holds the fields returned from a succesfull authentication request.

  • Access token from the server.

    Declaration

    Swift

    public let accessToken: String?
  • Scopes that the user is authorized as granted by the server.

    Declaration

    Swift

    public let scopes: [String]?
  • Undocumented

    Declaration

    Swift

    public init(accessToken: String, scopes: [String])