---
type: api
title: User authentication information
description: Provides authentication information about a user, including elevated permission status and TOTP device availability.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/operation/operation-get-authentication-info
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/operation/operation-get-authentication-info
products:
  - Elastic Cloud Enterprise
---

# User authentication information

## Paths

- `GET` `/users/auth`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/authentication#basicauth)
- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/authentication#apikey)

## Description

Provides authentication information about a user, including elevated permission status and TOTP device availability.

## Response

User authentication information response

`application/json`

- `has_totp_device` (boolean)
  Deprecated: True if the user has an available TOTP device
- `totp_device_source` (string)
  Deprecated: The TOTP device source
- `has_elevated_permissions` (boolean)
  Deprecated: True if the user has elevated permissions
- `elevated_permissions_expire_at` (string)
  Deprecated: The UTC time when elevated permissions will expire, if the user has elevated permissions
- `totp_device_source_enable_mfa_href` (string)
  Deprecated: URL for configuring an MFA TOTP device.  Does not apply when totp_device_source is 'native'.
- `refresh_token_url` (string)
  The API to be used when refreshing the current user's JWT
- `expires_at` (string)
  The UTC time when current authentication will expire. Applies to only token based authentication
## Code Examples

#### Console

```console
GET /users/auth
```

#### curl

```curl
curl -X GET "/users/auth"
```

