public class GetOAuthToken extends java.lang.Object implements RestReadView<AccountResource>
Modifier and Type | Class and Description |
---|---|
static class |
GetOAuthToken.OAuthTokenInfo |
Modifier and Type | Method and Description |
---|---|
GetOAuthToken.OAuthTokenInfo |
apply(AccountResource rsrc)
Process the view operation by reading from the resource.
|
public GetOAuthToken.OAuthTokenInfo apply(AccountResource rsrc) throws AuthException, ResourceNotFoundException
RestReadView
apply
in interface RestReadView<AccountResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.ResourceNotFoundException