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(ordered: List<TFAuthenticationMechanism>, new Result<Boolean, Error>() {
@Override
public void onSuccess(Boolean value) {
//handle success
}
@Override
public void onFailure(Error error) {
// handle errors
}
});