Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.34 KB

claimedmagneticstripereader_authenticatedeviceasync_1083929220.md

File metadata and controls

30 lines (20 loc) · 1.34 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.PointOfService.ClaimedMagneticStripeReader.AuthenticateDeviceAsync(System.Byte[])
winrt method
xbox

Windows.Devices.PointOfService.ClaimedMagneticStripeReader.AuthenticateDeviceAsync

-description

Puts the device into an authenticated state.

-parameters

-param responseToken

A buffer containing the response token generated from the challenge token retrieved from a previous call to the RetrieveDeviceAuthenticationDataAsync method.

-returns

-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.

-examples

-see-also