Function: register()¶
Defined in: rine-ts-sdk/src/onboard.ts:63
Register a new org on the Rine network.
Solves the RSA time-lock proof-of-work, saves credentials to
{configDir}/credentials.json, and caches the initial OAuth token.
Parameters¶
| Parameter | Type |
|---|---|
opts |
RegisterOptions |
Returns¶
Promise\<RegistrationResult>
Throws¶
If the slug fails client-side validation.
Throws¶
If the email or slug is already registered.
Throws¶
On 429 from the server.
Throws¶
On PoW challenge expiry or other failures.