authenticate

fun authenticate(authenticate: suspend ApplicationCall.(BearerTokenCredential) -> Any?)

Exchanges the token for a Principal.

Return

a principal or null