class GdsApi::AccountApi
def get_user(govuk_account_session:)
-
(Hash)
- Information about the user and the services they've used, and a new session header
Parameters:
-
govuk_account_session
(String
) -- Value of the session header
def get_user(govuk_account_session:) get_json("#{endpoint}/api/user", auth_headers(govuk_account_session)) end