OAuthProviderImpl
Default OAuthProvider implementation.
This class provides all methods required to interact with the Sensibill OAuth service.
Constructors
Types
Functions
authenticateUser
Link copied to clipboard
open fun authenticateUser(oauthSettings: OAuthSettings, username: String, password: String, callback: OAuthProvider.AccessTokenCallback)
Content copied to clipboard
open override fun authenticateUser(oauthSettings: OAuthSettings, username: String, password: String, callback: OAuthProvider.AccessTokenCallback, callbackScope: CoroutineScope): <ERROR CLASS>
Content copied to clipboard
forgotPassword
Link copied to clipboard
open fun forgotPassword(email: String, callback: OAuthProvider.ForgetPasswordCallback)
Content copied to clipboard
open override fun forgotPassword(email: String, callback: OAuthProvider.ForgetPasswordCallback, callbackScope: CoroutineScope): <ERROR CLASS>
Content copied to clipboard
getClientToken
Link copied to clipboard
open fun getClientToken(oauthSettings: OAuthSettings, callback: OAuthProvider.AccessTokenCallback)
Content copied to clipboard
open override fun getClientToken(oauthSettings: OAuthSettings, callback: OAuthProvider.AccessTokenCallback, callbackScope: CoroutineScope): <ERROR CLASS>
Content copied to clipboard
logout
Link copied to clipboard
open fun logout(accessToken: String, logoutCallback: OAuthProvider.LogoutCallback)
Content copied to clipboard
open override fun logout(accessToken: String, callback: OAuthProvider.LogoutCallback, callbackScope: CoroutineScope): <ERROR CLASS>
Content copied to clipboard
refreshToken
Link copied to clipboard
open fun refreshToken(refreshToken: String, oauthSettings: OAuthSettings, accessTokenCallback: OAuthProvider.AccessTokenCallback)
Content copied to clipboard
open override fun refreshToken(refreshToken: String, oauthSettings: OAuthSettings, accessTokenCallback: OAuthProvider.AccessTokenCallback, callbackScope: CoroutineScope): <ERROR CLASS>
Content copied to clipboard