Pass JwtSigningInfo to the authentication to generate a signed JWT:
//Keyless adds a td claim to the JWTs containing the data you specifyval jwtSigningInfo =JwtSigningInfo(claimTransactionData ="<your custom data")// if you want to authenticate with biometricval biomAuthConfig =BiomAuthConfig(jwtSigningInfo = jwtSigningInfo)// if you want to authenticate with pinval pinAuthConfig =PinAuthConfig(pin ="1234", jwtSigningInfo = jwtSigningInfo)// perform the authenticationKeyless.authenticate( configuration = biomAuthConfig, // pinAuthConfig if you use pin onCompletion = { /*TODO: process result*/ })
//Keyless adds a td claim to the JWTs containing the data you specifylet jwtSigningInfo =JwtSigningInfo(claimTransactionData ="<your custom data>")// if you want to authenticate with biometriclet biomAuthConfig =BiomAuthConfig(jwtSigningInfo = jwtSigningInfo)// if you want to authenticate with pinlet pinAuthConfig =PinAuthConfig(pin ="1234", jwtSigningInfo = jwtSigningInfo)// perform the authenticationKeyless.authenticate( configuration = biomAuthConfig, // pinAuthConfig if you use pin onCompletion = { /*TODO: process result*/ })
User signing public key
The AuthenticationSuccess contains the following fields:
signedJwt: the signed JWT.
userSigningPublicKey: the public key used to sign the JWT.