@digitalpersona/services
Version:
DigitalPersona Web Access Services
24 lines (14 loc) • 730 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/services](./services.md) > [IAuthService](./services.iauthservice.md) > [CreateAuthentication](./services.iauthservice.createauthentication.md)
## IAuthService.CreateAuthentication() method
<b>Signature:</b>
```typescript
CreateAuthentication(identity: User | Ticket | null, credentialId: CredentialId): Promise<AuthenticationHandle>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| identity | <code>User | Ticket | null</code> | |
| credentialId | <code>CredentialId</code> | |
<b>Returns:</b>
`Promise<AuthenticationHandle>`