Cancels a game link. It can no longer be used to link after cancellation.
Cancels a game link. It can no longer be used to link after cancellation.
Cancels a game link. It can no longer be used to link after cancellation.
Completes a game link process and returns whether or not the link is valid.
Completes a game link process and returns whether or not the link is valid.
Completes a game link process and returns whether or not the link is valid.
Completes an avatar image upload. Must be called after the file upload process completes.
Completes an avatar image upload. Must be called after the file upload process completes.
Completes an avatar image upload. Must be called after the file upload process completes.
Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.
Follows the given identity.
In order for identities to be "friends", the other identity has to also follow this identity.
Follows the given identity. In order for identities to be "friends", the other identity has to also follow this identity.
Follows the given identity. In order for identities to be "friends", the other identity has to also follow this identity.
Returns the current status of a linking process.
Once status is complete, the identity's profile should be fetched again
since they may have switched accounts.
Returns the current status of a linking process.
Once status is complete, the identity's profile should be fetched again
since they may have switched accounts.
Returns the current status of a linking process.
Once status is complete, the identity's profile should be fetched again
since they may have switched accounts.
Fetches a list of identity handles.
Fetches a list of identity handles.
Fetches a list of identity handles.
Fetches an identity profile.
Fetches an identity profile.
Fetches an identity profile.
Fetches the current identity's profile.
Fetches the current identity's profile.
Fetches the current identity's profile.
Fetches a list of identity summaries.
Fetches a list of identity summaries.
Fetches a list of identity summaries.
Returns an overview of all players currently online or in game.
Returns an overview of all players currently online or in game.
Returns an overview of all players currently online or in game.
Begins the process for linking an identity with the Rivet Hub.
When an identity is created via rivet.api.identity#SetupIdentity, the identity is temporary
and is not shared with other games the user plays.
In order to make the identity permanent and synchronize the identity with other games, the identity must be linked with the hub.
The linking process works by opening identity_link_url in a browser then polling
rivet.api.identity#GetGameLink to wait for it to complete.
This is designed to be as flexible as possible so identity_link_url can be opened
on any device. For example, when playing a console game, the user can scan a
QR code for identity_link_url to authenticate on their phone.
Begins the process for linking an identity with the Rivet Hub.
When an identity is created via rivet.api.identity#SetupIdentity, the identity is temporary
and is not shared with other games the user plays.
In order to make the identity permanent and synchronize the identity with
other games, the identity must be linked with the hub.
The linking process works by opening identity_link_url in a browser then polling
rivet.api.identity#GetGameLink to wait for it to complete.
This is designed to be as flexible as possible so identity_link_url can be opened
on any device. For example, when playing a console game, the user can scan a
QR code for identity_link_url to authenticate on their phone.
Begins the process for linking an identity with the Rivet Hub.
When an identity is created via rivet.api.identity#SetupIdentity, the identity is temporary
and is not shared with other games the user plays.
In order to make the identity permanent and synchronize the identity with
other games, the identity must be linked with the hub.
The linking process works by opening identity_link_url in a browser then polling
rivet.api.identity#GetGameLink to wait for it to complete.
This is designed to be as flexible as possible so identity_link_url can be opened
on any device. For example, when playing a console game, the user can scan a
QR code for identity_link_url to authenticate on their phone.
Prepares an avatar image upload.
Complete upload with rivet.api.identity#CompleteIdentityAvatarUpload.
Prepares an avatar image upload.
Complete upload with rivet.api.identity#CompleteIdentityAvatarUpload.
Prepares an avatar image upload.
Complete upload with rivet.api.identity#CompleteIdentityAvatarUpload.
Removes the current identity's game activity.
Removes the current identity's game activity.
Removes the current identity's game activity.
Creates an abuse report for an identity.
Creates an abuse report for an identity.
Creates an abuse report for an identity.
Fuzzy search for identities.
Fuzzy search for identities.
Fuzzy search for identities.
Sets the current identity's game activity.
This activity will automatically be removed when the identity goes offline.
Sets the current identity's game activity. This activity will automatically be removed when the identity goes offline.
Sets the current identity's game activity. This activity will automatically be removed when the identity goes offline.
Gets or creates an identity.
Passing an existing identity token in the body refreshes the token.
Until the identity is linked with the Rivet Hub (see
rivet.api.identity#PrepareGameLink), this identity will be temporary but
still behave like all other identities.
This is intended to allow users to play the game without signing up while
still having the benefits of having an account. When they are ready to save
their account, they should be instructed to link their account (see
rivet.api.identity#PrepareGameLink).
identity_token should be stored in some form of persistent storage. The
token should be read from storage and passed to
rivet.api.identity#SetupIdentity every time the client starts.
Gets or creates an identity. Passing an existing identity token in the body refreshes the token.
Until the identity is linked with the Rivet Hub (see
rivet.api.identity#PrepareGameLink), this identity will be temporary but
still behave like all other identities.
This is intended to allow users to play the game without signing up while
still having the benefits of having an account. When they are ready to save
their account, they should be instructed to link their account (see
rivet.api.identity#PrepareGameLink).
identity_token should be stored in some form of persistent storage. The
token should be read from storage and passed to
rivet.api.identity#SetupIdentity every time the client starts.
Gets or creates an identity. Passing an existing identity token in the body refreshes the token.
Until the identity is linked with the Rivet Hub (see
rivet.api.identity#PrepareGameLink), this identity will be temporary but
still behave like all other identities.
This is intended to allow users to play the game without signing up while
still having the benefits of having an account. When they are ready to save
their account, they should be instructed to link their account (see
rivet.api.identity#PrepareGameLink).
identity_token should be stored in some form of persistent storage. The
token should be read from storage and passed to
rivet.api.identity#SetupIdentity every time the client starts.
Submits a beta signup form.
Submits a beta signup form.
Submits a beta signup form.
Unfollows the given identity.
Unfollows the given identity.
Unfollows the given identity.
Updates profile of the current identity.
Updates profile of the current identity.
Updates profile of the current identity.
Updates the current identity's status.
Updates the current identity's status.
Updates the current identity's status.
Validate contents of identity profile.
Use to provide immediate feedback on profile changes before committing them.
Validate contents of identity profile. Use to provide immediate feedback on profile changes before committing them.
Validate contents of identity profile. Use to provide immediate feedback on profile changes before committing them.
Returns all events relative to the current identity.
Returns all events relative to the current identity.
Returns all events relative to the current identity.
The resolved configuration of IdentityServiceClient class. This is resolved and normalized from the constructor configuration interface.