Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

sign(_:kid:header:)

func sign<Payload>(_ jwt: Payload, kid: JWKIdentifier? = nil, header: JWTHeader = .init()) async throws -> String where Payload : JWTPayload