Package | Description |
---|---|
org.glassfish.jersey.client.oauth2 |
Jersey OAuth 2 Client API.
|
Modifier and Type | Method and Description |
---|---|
static OAuth2CodeGrantFlow.Builder |
OAuth2ClientSupport.authorizationCodeGrantFlowBuilder(ClientIdentifier clientIdentifier,
String authorizationUri,
String accessTokenUri)
Get the builder of the
Authorization Code Grant Flow . |
T |
OAuth2CodeGrantFlow.Builder.clientIdentifier(ClientIdentifier clientIdentifier)
Set client identifier of the application that should be authorized.
|
static OAuth2CodeGrantFlow.Builder |
OAuth2ClientSupport.facebookFlowBuilder(ClientIdentifier clientIdentifier,
String redirectURI)
Get a builder that can be directly used to perform Authorization Code Grant flow defined by
Facebook.
|
static OAuth2FlowGoogleBuilder |
OAuth2ClientSupport.googleFlowBuilder(ClientIdentifier clientIdentifier,
String redirectURI,
String scope)
Get a builder that can be directly used to perform Authorization Code Grant flow defined by
Google.
|
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.