Authentication

Get the authenticated principal

Returns the principal represented by a current session or grant. Requires authenticated authority and enforces current resource policy.

get/api/auth/principal

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Response

Response for status 200

actorIdstring required
handlestring required
displayNamestring nullable required
avatarUrlstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.