Skip to content

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

Type MethodJWTKit

authenticator(expectedAudiences:trustedAdditionalAudiences:)

Authenticates an identity token for any of the configured audiences. The signing keys must be registered in app.jwt.keys.
static func authenticator(expectedAudiences: some Sequence<String>, trustedAdditionalAudiences: Set<String> = []) -> AsyncAuthenticator