A B C D E F G K L N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCESS_TOKEN_REQUEST - org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
-
Requesting the access token phase.
- 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 typeparameter used in Authorization Request. - ALL - org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
-
All phases.
- AUTHORIZATION - org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
-
Authorization phase.
- AUTHORIZATION_CODE - org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
-
Used to request an access token in the Authorization Code Grant Flow.
- 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
OAuth2CodeGrantFlowinstance.
C
- client(Client) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
-
Set the client that should be used internally by the
OAuth1AuthorizationFlowto make requests to Authorization Server. - CLIENT_CREDENTIALS - org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
-
Used in Client Credentials Flow.
- CLIENT_ID - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
-
Parameter
client_idthat corresponds to (ClientIdentifier.getClientId()). - CLIENT_SECRET - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
-
Parameter
client_secretthat corresponds to (ClientIdentifier.getClientSecret()). - clientIdentifier(ClientIdentifier) - Method in interface org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Builder
-
Set client identifier of the application that should be authorized.
- 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, 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(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.
- CODE - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
-
Authorization code
- CONSENT - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
-
User will be asked for approval each time the authorization is performed.
D
- display(OAuth2FlowGoogleBuilder.Display) - Method in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
-
Set
displayparameter 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 featurefrom theaccessTokenthat will addAuthorizationhttp 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 tokenin 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 featurethat can be used to configureclientinstances 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
- 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 hintparameter used in Authorization Request.
N
- NONE - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
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 requestusingClientRequestContext.setProperty(String, Object)and that defines access token that should be used when generating OAuthAuthorizationhttp header. - OAuth2ClientSupport - Class in org.glassfish.jersey.client.oauth2
-
Main class to build the Authorization Flow instances and
client filter featurethat 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
OAuth2CodeGrantFlowpre-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_typeused in the access token request. - OFFLINE - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.AccessType
- ONLINE - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.AccessType
- 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
- PAGE - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
- PASSWORD - org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
-
Used in Resource Owner Password Credential Grant.
- POPUP - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
- prompt(OAuth2FlowGoogleBuilder.Prompt) - Method in class org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder
-
Set
promptparameter used in Authorization Request. - 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
keyandvalueto the appropriate property map based on this phase. - 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.
R
- REDIRECT_URI - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
-
Parameter
response_typeused 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_ACCESS_TOKEN - org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.Phase
-
Refreshing the access token phase.
- REFRESH_TOKEN - org.glassfish.jersey.client.oauth2.OAuth2Parameters.GrantType
-
Used to refresh an access token in the Authorization Code Grant Flow.
- REFRESH_TOKEN - Static variable in class org.glassfish.jersey.client.oauth2.OAuth2Parameters
-
Parameter
refresh_tokencontains Refresh Token (corresponds toTokenResult.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_typeused 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
scopethat defines the scope to which an authorization is requested. - SELECT_ACCOUNT - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Prompt
- 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.
- TOUCH - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
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.
W
- WAP - org.glassfish.jersey.client.oauth2.OAuth2FlowGoogleBuilder.Display
All Classes All Packages