A B C D E F G K L O P R S T V 

A

accessTokenUri(String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set the access token URI on which the access token can be requested.
accessType(OAuth2FlowGoogleBuilder.AccessType) - Method in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
Set access type parameter used in Authorization Request.
authorizationCodeGrantFlowBuilder(ClientIdentifier, String, String) - Static method in class org.glassfish.jersey.client.oauth2.OAuth2ClientSupport
Get the builder of the Authorization Code Grant Flow.
authorizationUri(String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set the URI to which the user should be redirected to authorize our application.

B

build() - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Build the OAuth2CodeGrantFlow instance.

C

client(Client) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set the client that should be used internally by the OAuth1AuthorizationFlow to make requests to Authorization Server.
CLIENT_ID - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Parameter client_id that corresponds to (ClientIdentifier.getClientId()).
CLIENT_SECRET - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Parameter client_secret that corresponds to (ClientIdentifier.getClientSecret()).
ClientIdentifier - Class in org.glassfish.jersey.client.oauth2
Client Identifier that contains information about client id and client secret issues by a Service Provider for application.
ClientIdentifier(String, String) - Constructor for class org.glassfish.jersey.client.oauth2.ClientIdentifier
Create a new instance initialized with client id and client secret in form of String value.
ClientIdentifier(String, byte[]) - Constructor for class org.glassfish.jersey.client.oauth2.ClientIdentifier
Create a new instance initialized with client id and client secret in form of byte array.
clientIdentifier(ClientIdentifier) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set client identifier of the application that should be authorized.
CODE - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Authorization code

D

display(OAuth2FlowGoogleBuilder.Display) - Method in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
Set display parameter used in Authorization Request.

E

ERROR_FLOW_NOT_FINISHED() - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
Authorization is not finished and access token was not received.
ERROR_FLOW_REQUEST_ACCESS_TOKEN(Object) - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
Error requesting access token.
ERROR_FLOW_REQUEST_REFRESH_TOKEN(Object) - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
Error refreshing an access token.
ERROR_FLOW_WRONG_STATE() - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
Invalid 'state' parameter.

F

facebookFlowBuilder(ClientIdentifier, String) - Static method in class org.glassfish.jersey.client.oauth2.OAuth2ClientSupport
Get a builder that can be directly used to perform Authorization Code Grant flow defined by Facebook.
feature(String) - Static method in class org.glassfish.jersey.client.oauth2.OAuth2ClientSupport
Build the client filter feature from the accessToken that will add Authorization http header to the request with the OAuth authorization information.
finish(String, String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow
Finish the authorization process and return the TokenResult.

G

getAccessToken() - Method in class org.glassfish.jersey.client.oauth2.TokenResult
Get access token.
getAllProperties() - Method in class org.glassfish.jersey.client.oauth2.TokenResult
Get the map of all properties returned in the Access Token Response.
getAuthorizedClient() - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow
Return the client configured for performing authorized requests to the Service Provider.
getClientId() - Method in class org.glassfish.jersey.client.oauth2.ClientIdentifier
Get the client id.
getClientSecret() - Method in class org.glassfish.jersey.client.oauth2.ClientIdentifier
Get client secret.
getClientSecretAsByteArray() - Method in class org.glassfish.jersey.client.oauth2.ClientIdentifier
Get client secret as byte array.
getExpiresIn() - Method in class org.glassfish.jersey.client.oauth2.TokenResult
Get expiration time of the access token in seconds.
getKey() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.AccessType
 
getKey() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
 
getKey() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
 
getOAuth2Feature() - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow
Return the oauth filter feature that can be used to configure client instances to perform authenticated requests to the Service Provider.
getRefreshToken() - Method in class org.glassfish.jersey.client.oauth2.TokenResult
Get the refresh token.
getTokenType() - Method in class org.glassfish.jersey.client.oauth2.TokenResult
Get the type of the returned access token.
getValue() - Method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.AccessType
 
getValue() - Method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
 
getValue() - Method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
 
googleFlowBuilder(ClientIdentifier, String, String) - Static method in class org.glassfish.jersey.client.oauth2.OAuth2ClientSupport
Get a builder that can be directly used to perform Authorization Code Grant flow defined by Google.

K

key - Static variable in enum org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
Parameter key name.

L

localizableERROR_FLOW_NOT_FINISHED() - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
 
localizableERROR_FLOW_REQUEST_ACCESS_TOKEN(Object) - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
 
localizableERROR_FLOW_REQUEST_REFRESH_TOKEN(Object) - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
 
localizableERROR_FLOW_WRONG_STATE() - Static method in class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
 
LocalizationMessages - Class in org.glassfish.jersey.client.oauth2.internal
Defines string formatting method for each constant in the resource file
LocalizationMessages() - Constructor for class org.glassfish.jersey.client.oauth2.internal.LocalizationMessages
 
LOGIN_HINT - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
Property key that defines values for "login_hint" parameter used in Google OAuth flow.
loginHint(String) - Method in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
Set login hint parameter used in Authorization Request.

O

OAUTH2_PROPERTY_ACCESS_TOKEN - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2ClientSupport
Key of the property that can be attached to the client request using ClientRequestContext.setProperty(String, Object) and that defines access token that should be used when generating OAuth Authorization http header.
OAuth2ClientSupport - Class in org.glassfish.jersey.client.oauth2
Main class to build the Authorization Flow instances and client filter feature that can supports performing of authenticated OAuth requests.
OAuth2CodeGrantFlow - Interface in org.glassfish.jersey.client.oauth2
The interface that defines OAuth 2 Authorization Code Grant Flow.
OAuth2CodeGrantFlow.Builder<T extends OAuth2CodeGrantFlow.Builder> - Interface in org.glassfish.jersey.client.oauth2
The builder of OAuth2CodeGrantFlow.
OAuth2CodeGrantFlow.Phase - Enum in org.glassfish.jersey.client.oauth2
Phase of the Authorization Code Grant Flow.
OAuth2FlowGoogleBuilder - Class in org.glassfish.jersey.client.oauth2
Class that provides methods to build OAuth2CodeGrantFlow pre-configured for usage with Google provider.
OAuth2FlowGoogleBuilder.AccessType - Enum in org.glassfish.jersey.client.oauth2
Enum that defines values for "access_type" parameter used in Google OAuth flow.
OAuth2FlowGoogleBuilder.Display - Enum in org.glassfish.jersey.client.oauth2
Enum that defines values for "display" parameter used in Google OAuth flow.
OAuth2FlowGoogleBuilder.Prompt - Enum in org.glassfish.jersey.client.oauth2
Enum that defines values for "prompt" parameter used in Google OAuth flow.
OAuth2Parameters - Class in org.glassfish.jersey.client.oauth2
Class that contains definition od parameters used in OAuth2.
OAuth2Parameters.GrantType - Enum in org.glassfish.jersey.client.oauth2
Parameter grant_type used in the access token request.
org.glassfish.jersey.client.oauth2 - package org.glassfish.jersey.client.oauth2
Jersey OAuth 2 Client API.
org.glassfish.jersey.client.oauth2.internal - package org.glassfish.jersey.client.oauth2.internal
 

P

prompt(OAuth2FlowGoogleBuilder.Prompt) - Method in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
Set prompt parameter used in Authorization Request.
property(OAuth2CodeGrantFlow.Phase, String, String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set property (parameter) that will be added to requests or URIs as a query parameters during the Authorization Flow.
property(String, String, Map<String, String>, Map<String, String>, Map<String, String>) - Method in enum org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
Set property defined by key and value to the appropriate property map based on this phase.

R

REDIRECT_URI - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Parameter response_type used in the authorization request.
REDIRECT_URI_UNDEFINED - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
 
redirectUri(String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set the redirect URI to which the user (resource owner) should be redirected after he/she grants access to our application.
REFRESH_TOKEN - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Parameter refresh_token contains Refresh Token (corresponds to TokenResult.getRefreshToken()).
refreshAccessToken(String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow
Refresh the access token using a refresh token.
refreshTokenUri(String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set the refresh token URI on which the access token can be refreshed using a refresh token.
RESPONSE_TYPE - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Parameter response_type used in the authorization request.

S

scope(String) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
Set a scope to which the application will get authorization grant.
SCOPE - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
Parameter scope that defines the scope to which an authorization is requested.
start() - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow
Start the authorization process and return redirection URI on which the user should give a consent for our application to access resources.
STATE - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
State parameter used in the authorization request and authorization response to protect against CSRF attacks.

T

TokenResult - Class in org.glassfish.jersey.client.oauth2
Class that contains a result of the Authorization Flow including a access token.
TokenResult(Map<String, Object>) - Constructor for class org.glassfish.jersey.client.oauth2.TokenResult
Create a new instance initiated from the property map.

V

valueOf(String) - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.AccessType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.AccessType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G K L O P R S T V 

Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.