Get an API key from a registration token retrieved in retrieve/token. The user must have approved your request first, or you will get an error response.
This is the second/final step in fetching an API key for a user.
Namespace: NuGardt.Prowl.APIAssembly: NuGardt.Prowl.API (in NuGardt.Prowl.API.dll) Version: 1.0.0.1 (1.0.0.1)
public static IAsyncResult RetrieveApiKeyBegin(
Object Key,
string ProviderKey,
string Token,
AsyncCallback Callback,
bool NoSSL = false
)
public static IAsyncResult RetrieveApiKeyBegin(
Object Key,
string ProviderKey,
string Token,
AsyncCallback Callback,
bool NoSSL = false
)
Public Shared Function RetrieveApiKeyBegin (
Key As Object,
ProviderKey As String,
Token As String,
Callback As AsyncCallback,
Optional NoSSL As Boolean = false
) As IAsyncResult
Public Shared Function RetrieveApiKeyBegin (
Key As Object,
ProviderKey As String,
Token As String,
Callback As AsyncCallback,
Optional NoSSL As Boolean = false
) As IAsyncResult
public:
static IAsyncResult^ RetrieveApiKeyBegin(
Object^ Key,
String^ ProviderKey,
String^ Token,
AsyncCallback^ Callback,
bool NoSSL = false
)
public:
static IAsyncResult^ RetrieveApiKeyBegin(
Object^ Key,
String^ ProviderKey,
String^ Token,
AsyncCallback^ Callback,
bool NoSSL = false
)
Parameters
- Key
- Type:
System Object
Your own Key for tracking asynchronous calls.
- ProviderKey
- Type:
System String
Your provider API key. Required.
- Token
- Type:
System String
The token returned from retrieve/token. Required.
- Callback
- Type:
System AsyncCallback
Method to call on completion or failure.
- NoSSL (Optional)
- Type:
System Boolean
Optional (Default: False). Call the query without utilizing SSL (encryption).
Return Value
Type:
IAsyncResultReturns an
System.IAsyncResult.