Skip to content

Type MethodJWTKit

authenticator(expectedAudience:trustedAdditionalAudiences:)

Authenticates an identity token only when it was issued for this audience. The signing keys must be registered in app.jwt.keys.
static func authenticator(expectedAudience: String, trustedAdditionalAudiences: Set<String> = []) -> AsyncAuthenticator