Redirects the User Agent to a Veriplace page to acquire permission to locate the
current user. This method will not return, since it terminates the current
request. Veriplace will then redirect back to the given callback URL,
providing an Access Token if permission was granted.
Namespace:
Veriplace.Client
Assembly:
Veriplace.Client (in Veriplace.Client.dll) Version: 1.7.0.25986 (1.7.0.0)
Syntax
| C# |
|---|
public void RedirectToAuthorization(
string callback,
User user,
bool immediate
) |
| Visual Basic (Declaration) |
|---|
Public Sub RedirectToAuthorization ( _
callback As String, _
user As User, _
immediate As Boolean _
) |
| Visual C++ |
|---|
public:
void RedirectToAuthorization(
String^ callback,
User^ user,
bool immediate
) |
Parameters
- callback
- Type: System..::.String
a callback URL for this application
- user
- Type: Veriplace.Client..::.User
the user
- immediate
- Type: System..::.Boolean
true if Veriplace should return immediately based on
currently available permissions; false if Veriplace can interact with the user
to get permission or to log in
See Also