Class OneDriveAuthInfo.OneDriveAuthInfoBuilder
java.lang.Object
com.amilesend.onedrive.connection.auth.OneDriveAuthInfo.OneDriveAuthInfoBuilder
- Enclosing class:
OneDriveAuthInfo
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(@NonNull String accessToken) The current authorization token used to make API requests.build()
expiresIn
(long expiresIn) Time in milliseconds when the auth token expires.extExpiresIn
(long extExpiresIn) Time in milliseconds when the auth token expires.refreshToken
(@NonNull String refreshToken) The current refresh token used to refresh access tokens.resourceId
(String resourceId) The associated resource identifier associated with the access tokens (business accounts only).The list of scopes, or permissions to access the Graph API.The auth token type.toString()
-
Method Details
-
tokenType
The auth token type. Default isBearer
.- Returns:
this
.
-
scopes
The list of scopes, or permissions to access the Graph API.- Returns:
this
.
-
expiresIn
Time in milliseconds when the auth token expires.- Returns:
this
.
-
extExpiresIn
Time in milliseconds when the auth token expires.- Returns:
this
.
-
accessToken
The current authorization token used to make API requests.- Returns:
this
.
-
refreshToken
The current refresh token used to refresh access tokens.- Returns:
this
.
-
resourceId
The associated resource identifier associated with the access tokens (business accounts only).- Returns:
this
.
-
build
-
toString
-