Get a registration token for use in retrieve/apikey and the associated URL for the user to approve the request.
This is the first step in fetching an API key for a user. The token retrieved expires after 24 hours.
Namespace: NuGardt.Prowl.APIAssembly: NuGardt.Prowl.API (in NuGardt.Prowl.API.dll) Version: 1.0.0.1 (1.0.0.1)
public static IAsyncResult RetrieveTokenBegin(
Object Key,
string ProviderKey,
AsyncCallback Callback,
bool NoSSL = false
)
public static IAsyncResult RetrieveTokenBegin(
Object Key,
string ProviderKey,
AsyncCallback Callback,
bool NoSSL = false
)
Public Shared Function RetrieveTokenBegin (
Key As Object,
ProviderKey As String,
Callback As AsyncCallback,
Optional NoSSL As Boolean = false
) As IAsyncResult
Public Shared Function RetrieveTokenBegin (
Key As Object,
ProviderKey As String,
Callback As AsyncCallback,
Optional NoSSL As Boolean = false
) As IAsyncResult
public:
static IAsyncResult^ RetrieveTokenBegin(
Object^ Key,
String^ ProviderKey,
AsyncCallback^ Callback,
bool NoSSL = false
)
public:
static IAsyncResult^ RetrieveTokenBegin(
Object^ Key,
String^ ProviderKey,
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
- 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.