Authentication Priority
If the ordered set doesn't contain all the enabled mechanisms they will be appended automatically. If repeated mechanisms are passed only the first occurrence is going to be kept
- iOS (Swift)
- Android (Java)
trustFactorClient.setAuthenticationMechanismsPriority(ordered: <[TFAuthenticationMechanism]>) { result, correlatioId in
switch result {
case .success:
//handle success
case .failure(let error):
//handle error
}
}
trustfactorClient.setAuthenticationMechanismsPriority(mechanisms, (result) -> result.fold(
(Boolean value, String correlationId) -> {
// value is a boolean we can ignore
},
(Error error, String correlationId) -> {
// handle errors
}
));