<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/enrollment](./enrollment.md) &gt; [EnrollmentContext](./enrollment.enrollmentcontext.md) &gt; [isAuthenticated](./enrollment.enrollmentcontext.isauthenticated.md)

## EnrollmentContext.isAuthenticated() method

Check is the user has an authentication token, or just a user name.

<b>Signature:</b>

```typescript
isAuthenticated(): boolean;
```
<b>Returns:</b>

`boolean`

`true` if user identity represented by an authenticatication token, `false` otherwise.

