To login into the Tapkey Mobile SDK
you need to setup and configure an Identity Provider
which signs an JWK Token
which has then to be exchanged against an Tapkey Access Token
.
Find more detailed here:
https://developers.tapkey.io/mobile/authentication/
Detailed informations about using an Identity Provider
can be found here:
https://developers.tapkey.io/api/authentication/identity_providers/
How to create and register a Identity Provider
and a Token Exchange Client
can be found here:
https://developers.tapkey.io/api/authentication/registration/#identity-provider-registration
1. Sign a JWT Token via trusted services
Sign via a trusted services a JWT Token for your logged in user:
https://developers.tapkey.io/api/authentication/identity_providers/
2. Exchange JWT Token with Tapkey Access Token
Exchange the signed JWT Token with an Tapkey Access Token on your devices:
https://developers.tapkey.io/api/authentication/token_exchange/
There is no specific implementation for it in the Tapkey Mobile SDK, this has to be done manually.
3. Use the Tapkey Access Token to login
Use the Tapkey Access Token to login into the Tapkey Mobile SDK
userManager.logInAsync([TAPKEY_ACCESS_TOKEN], CancellationTokens.None);