RevokeAccessRequest.Builder

  • RevokeAccessRequest.Builder is used to build a RevokeAccessRequest.

  • You can set the account for which access is being revoked.

  • You can set the specific OAuth 2.0 scopes to revoke access for.

  • The build() method finalizes the RevokeAccessRequest object.

public static final class RevokeAccessRequest.Builder extends Object

Builder for RevokeAccessRequest.

Public Method Summary

RevokeAccessRequest
RevokeAccessRequest.Builder
setAccount(Account account)
Sets the account that the application is revoking access for.
RevokeAccessRequest.Builder
setScopes(List<Scope> scopes)
Sets the list of OAuth 2.0 scopes that the application is revoking access for.

Inherited Method Summary

Public Methods

public RevokeAccessRequest build ()

Builds the RevokeAccessRequest.

public RevokeAccessRequest.Builder setAccount (Account account)

Sets the account that the application is revoking access for.

public RevokeAccessRequest.Builder setScopes (List<Scope> scopes)

Sets the list of OAuth 2.0 scopes that the application is revoking access for.