UserCredential

fun interface UserCredential

The credential a client forwards in user mode: the request headers that make the peer's public port authenticate the end user a call acts for, its caller, as its own edge did (Authorization, and CoSec's CoSec-App-Id when the application is part of what it authorizes). The peer decides the caller's identity, tenant and scope from them alone: a client asserts nothing.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun headers(caller: Caller): Map<String, String>