# createAuthDataService · FT4 TypeScript client · Chromia Docs (concept)

> createAuthDataService(connection: Connection ): AuthDataService Creates an instance of AuthDataService object. Parameters connection: Connection connection

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/ft-session.createAuthDataService/

Function

# createAuthDataService

* ```signature
  createAuthDataService(connection: Connection): AuthDataService
  ```

  Creates an instance of `AuthDataService` object.

  #### Parameters

  + connection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    connection that the auth data service will use when interacting with the blockchain

  #### Returns [AuthDataService](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.AuthDataService/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/ft-session.createAuthDataService.html)Generated API reference, mirrored from the live docs
