Skip to main content

Get authenticated user

GET 

/authn/me

Returns the principal name the server resolved for the caller and whether the caller is a service administrator. serviceAdmin is always false when authorization is disabled.

Sign in with a bearer token or a local user's password; see Authentication.

Responses​

The principal name the server resolved for the caller, and whether the caller is a service administrator.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    principal string

    The server-resolved principal name of the authenticated user

    serviceAdmin boolean

    Whether the authenticated user is a Gravitino service administrator

Loading...