ClaimedMagneticStripeReader.AuthenticateDeviceAsync(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Puts the device into an authenticated state.
public:
virtual IAsyncAction ^ AuthenticateDeviceAsync(Platform::Array <byte> ^ responseToken) = AuthenticateDeviceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction AuthenticateDeviceAsync(winrt::array_view <byte> const& responseToken);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction AuthenticateDeviceAsync(byte[] responseToken);
function authenticateDeviceAsync(responseToken)
Public Function AuthenticateDeviceAsync (responseToken As Byte()) As IAsyncAction
Parameters
- responseToken
-
Byte[]
byte[]
A buffer containing the response token generated from the challenge token retrieved from a previous call to the RetrieveDeviceAuthenticationDataAsync method.
Returns
- Attributes
Remarks
The method is only valid for devices that support authentication.
To authenticate a device, the application calls the RetrieveDeviceAuthenticationDataAsync method to retrieve a challenge token. The application typically passes this token to another entity that has special knowledge of a shared secret and is able to create a proper response token. This response token is then passed into the AuthenticateDeviceAsync method that uses it to validate the authentication request.