Skip to main content

Authenticate with PIN

The initial PIN for authentication is set when registering a device.

Authenticate

trustFactorClient.authenticate(pin: <string>) { result, correlationId in
switch result {
case .failure(let error):
// handle error

case .success(_):
// handle success
}
}

Update

trustFactorClient.updateAuthenticationPIN(old: <old>, new: <new>) { result, correlationId in
switch result {
case .failure(let error):
// handle error

case .success(_):
// handle success
}
}