principal

inline fun <P : Any> ApplicationCall.principal(): P?

Retrieves an authenticated principal Any for this call.


inline fun <P : Any> ApplicationCall.principal(provider: String?): P?

Retrieves an authenticated principal Any for this call from provider with name provider