JwtAuthorizationProvider

public struct JwtAuthorizationProvider : AuthorizationProvider

A JWT based AuthorizationProvider.

  • jwt

    JWT that can be used to do authorization on the server.

    Declaration

    Swift

    public let jwt: String
  • Creates a new JWT based authorization provider.

    Declaration

    Swift

    public init(_ jwt: String)

    Parameters

    jwt

    A JWT that can be used to do authorization on the server.