UNPKG

@digitalpersona/services

Version:
24 lines (14 loc) 730 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/services](./services.md) &gt; [IAuthService](./services.iauthservice.md) &gt; [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 &#124; Ticket &#124; null</code> | | | credentialId | <code>CredentialId</code> | | <b>Returns:</b> `Promise<AuthenticationHandle>`