Interface for verifying or removing an application's permissions for specific resources in the Veriplace platform.

Namespace:  Veriplace.Client
Assembly:  Veriplace.Client (in Veriplace.Client.dll) Version: 1.7.0.25986 (1.7.0.0)

Syntax

C#
public class PermissionAPI : API
Visual Basic (Declaration)
Public Class PermissionAPI _
	Inherits API
Visual C++
public ref class PermissionAPI : public API

Remarks

These are direct requests to the Veriplace server, and can be used without user interaction and without a web front-end.

The Verify(Token) and Delete(Token) methods operate on specific OAuth Access Tokens, representing permissions to locate specific users. An application may wish to verify an Access Token if it was previously cached, because users may have changed their privacy settings so that the token is no longer valid and location requests will fail; in this case the application may choose to restart the OAuth User Authorization process to obtain a new token. An application can also delete the Access Token that it previously used to locate a user; this has the same effect as the user revoking permission for that application through the Veriplace website.

The VerifyCarrierLocatability(String) method does not check whether the application has permission to locate the user, but whether it can ever have permission, based on whether the given mobile number is on a mobile carrier that is supported by Veriplace and authorized for the application.

Inheritance Hierarchy

System..::.Object
  Veriplace.Client..::.API
    Veriplace.Client..::.PermissionAPI

See Also