Skip to main content
GET
Get current session

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Resposta

OK

authMode
enum<string>
obrigatório

Whether this deployment enforces authentication. 'disabled' carries no session: subject and permissions are null.

Opções disponíveis:
enabled,
disabled
Exemplo:

"enabled"

permissions
string[] | null
obrigatório

Effective permissions as 'resource:action', sorted. Null when the grant is UNKNOWN — the token carries no RBAC claims, or every role name it carries is unknown to this service — in which case server-side authorization remains the only gate. An empty array is a known grant of nothing.

Exemplo:
subject
string | null
obrigatório

Validated subject of the bearer token, for display only. Null when auth is disabled.

Exemplo:

"lerian/6f2b1c2e"