目录

DriveCredential.AccessMethod

Interface Info

public interface AccessMethod

Object used to obtain a new access token when the original one expires.

Public Method Summary

Qualifier and Type

Method Name and Description

String

refreshToken()

Refreshes the access token.

Public Methods

refreshToken

Method

String refreshToken() throws IOException

Refreshes the access token.

Returns

Type

Description

String

Access token.

Throws

Name

Description

java.io.IOException

I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.