fetch Providers
fun fetchProviders(onComplete: (Either<List<Provider>, SippoResourceError>) -> Unit)
Content copied to clipboard
Fetches the available Provider.
Parameters
on Complete
Callback that will be invoked when the request is completed. It will receive the available providers in case of success or a SippoResourceError otherwise. It is possible that the error may be caused by the fact that more recent server versions only support the AuthProvider model. In that case, fetchAuthProvider should be called instead.