sinch-rtc
Version:
RTC JavaScript/Web SDK
22 lines • 809 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClientRegistration = void 0;
/**
* Callback object to be used to proceed in user registration/setup when
* registration credentials for the user in question have been obtained.
*/
class ClientRegistration {
/**
* Methods to call when registration credentials for the user have been
* obtained.
*
* @param register - Callback to call with a signed JWT token for this user.
* @param registerFailed - Callback to call when registration for the user has failed
*/
constructor(register, registerFailed) {
this.register = register;
this.registerFailed = registerFailed;
}
}
exports.ClientRegistration = ClientRegistration;
//# sourceMappingURL=ClientRegistration.js.map