ClientRegistration | sinch-rtc
Description: Documentation for sinch-rtc

# Class ClientRegistration

Callback object to be used to proceed in user registration/setup when registration credentials for the user in question have been obtained.

##### Index

### Constructors

constructor

### Properties

register
registerFailed

## Constructors

### constructor

- new ClientRegistration(
  register: (jwtSignature: string) => Promise<void>,
  registerFailed: () => void,
  ): ClientRegistration

  Methods to call when registration credentials for the user have been obtained.

  #### Parameters

  - register: (jwtSignature: string) => Promise<void>

    Callback to call with a signed JWT token for this user.

  - registerFailed: () => void

    Callback to call when registration for the user has failed

  #### Returns ClientRegistration

## Properties

### register

register: (jwtSignature: string) => Promise<void>

Callback to call with a signed JWT token for this user.

### registerFailed

registerFailed: () => void

Callback to call when registration for the user has failed