Uses of Class
com.amilesend.onedrive.connection.auth.OneDriveAuthInfo
Packages that use OneDriveAuthInfo
Package
Description
-
Uses of OneDriveAuthInfo in com.amilesend.onedrive
Methods in com.amilesend.onedrive that return OneDriveAuthInfoModifier and TypeMethodDescriptionOneDrive.getAuthInfo()
Gets the authentication information associated with the current user connection. -
Uses of OneDriveAuthInfo in com.amilesend.onedrive.connection
Methods in com.amilesend.onedrive.connection with parameters of type OneDriveAuthInfoModifier and TypeMethodDescriptionOneDriveConnectionBuilder.build
(OneDriveAuthInfo authInfo) Builds a newOneDriveConnection
instance with the givenauthInfo
. -
Uses of OneDriveAuthInfo in com.amilesend.onedrive.connection.auth
Methods in com.amilesend.onedrive.connection.auth that return OneDriveAuthInfoModifier and TypeMethodDescriptionOneDriveAuthInfo.OneDriveAuthInfoBuilder.build()
OneDriveAuthInfo.copyWithResourceId
(String resourceId) Creates a copy of this object while injecting the givenresourceId
.static OneDriveAuthInfo
OneDriveAuthManager.fetchAuthInfo
(okhttp3.OkHttpClient httpClient, okhttp3.Request request) Helper method to dispatch the request to redeem or refresh authorization tokens.static OneDriveAuthInfo
Deserializes the givenauthInfoJson
string to a newAuthInfo
object.BusinessAccountAuthManager.getAuthInfo()
PersonalAccountAuthManager.getAuthInfo()
BusinessAccountAuthManager.redeemToken
(String authCode) OneDriveAuthManager.redeemToken
(String authCode) Issues a request to redeem the givenauthCode
in order to retrieve access and refresh tokens as aOneDriveAuthInfo
.PersonalAccountAuthManager.redeemToken
(String authCode) BusinessAccountAuthManager.refreshToken()
OneDriveAuthManager.refreshToken()
Issues a request to refresh the auth tokens and returns the refreshed tokens as aOneDriveAuthInfo
.PersonalAccountAuthManager.refreshToken()
Methods in com.amilesend.onedrive.connection.auth with parameters of type OneDriveAuthInfoModifier and TypeMethodDescriptionBusinessAccountAuthManager.BuilderWithAuthInfo.authInfo
(@NonNull OneDriveAuthInfo authInfo) PersonalAccountAuthManager.BuilderWithAuthInfo.authInfo
(@NonNull OneDriveAuthInfo authInfo) -
Uses of OneDriveAuthInfo in com.amilesend.onedrive.connection.auth.store
Methods in com.amilesend.onedrive.connection.auth.store that return OneDriveAuthInfoModifier and TypeMethodDescriptionRetrieves theOneDriveAuthInfo
for the given keyed identifier.Retrieves theOneDriveAuthInfo
from the file system.Retrieves theOneDriveAuthInfo
from the file system.Methods in com.amilesend.onedrive.connection.auth.store with parameters of type OneDriveAuthInfoModifier and TypeMethodDescriptionvoid
AuthInfoStore.store
(String id, OneDriveAuthInfo authInfo) Stores the givenauthInfo
for the associated keyed identifier.void
SingleUserEncryptedFileBasedAuthInfoStore.store
(String id, @NonNull OneDriveAuthInfo authInfo) Saves the givenauthInfo
to the file system.void
SingleUserFileBasedAuthInfoStore.store
(String id, @NonNull OneDriveAuthInfo authInfo) Saves the givenauthInfo
to the file system.