Logging OutΒΆ

Log authenticated user out.

var client = MeshyClient.Initialize(accountName, publicKey);
var connection = await client.LoginAnonymouslyAsync(username);

await connection.SignoutAsync();

Parameters

accountName : string, required
Indicates which account you are connecting to.
publicKey : string, required
Public identifier of connecting service.
username : string, required
Unique identifier for user or device.
var client = MeshyClient.initialize(accountName, publicKey);

var anonymousUser = await client.registerAnonymousUser();

var meshyConnection = await client.loginAnonymously(anonymousUser.username);

await meshyConnection.signout();

Parameters

accountName : string, required
Indicates which account you are connecting to.
publicKey : string, required
Public identifier of connecting service.
username : string, required
Unique identifier for user or device.
POST https://api.meshydb.com/{accountName}/connect/revocation HTTP/1.1
Content-Type: application/x-www-form-urlencoded

  token={refresh_token}&
  token_type_hint=refresh_token&
  client_id={publicKey}

(Form-encoding removed, and line breaks added for readability)

Parameters

accountName : string, required
Indicates which account you are connecting to.
refresh_token : string, required
Refresh token identifying authorization with MeshyDB requested during Generating Token.
publicKey : string, required
Public identifier of connecting service.

Responses

200 : OK
  • Identifies successful logout.
400 : Bad request
  • Invalid client id.
  • Token is missing.
  • Unsupported Token type.
429 : Too many request
  • You have either hit your API or Database limit. Please review your account.