Skip to main content
Version: v0.3.1

Retrieve current user status

GET 

/api/auth/user

Retrieves current user state, whether someone is logged in or not a 200 result is provided. This is used in the frontend to determine whether certain aspects should be shown.

Request

Responses

Schema

    oneOf

    statestringrequired

    user

    object

    required

    substringrequired
    namestringrequired
    emailstringrequired
    didIdstringrequired
    rolesAppRole (string)[]required

    Possible values: [wallet_view_did, wallet_manage_keys, wallet_view_own_credentials, wallet_view_all_credentials, wallet_manage_own_credentials, wallet_manage_all_credentials, wallet_issue_credentials, wallet_view_presentations]