UNPKG

@digitalpersona/services

Version:
25 lines (14 loc) 728 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/services](./services.md) &gt; [AuthService](./services.authservice.md) &gt; [CreateAuthentication](./services.authservice.createauthentication.md) ## AuthService.CreateAuthentication() method <b>Signature:</b> ```typescript CreateAuthentication(identity: User | Ticket | null, credentialId: CredentialId): Promise<AuthenticationHandle>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | identity | <code>User &#124; Ticket &#124; null</code> | | | credentialId | <code>CredentialId</code> | | <b>Returns:</b> `Promise<AuthenticationHandle>`