public class OA2ClientEnvironment extends ClientEnvironment
Created by Jeff Gaynor
on 11/25/13 at 4:23 PM
accessTokenUri, authorizationUri, callback, CALLBACK_URI_KEY, client, cp, errorPagePath, FORM_ENCODING, initializeUri, privKeyString, redirectPagePath, resourceServerUri, skin, successPagePath, tfp, TOKEN, VERIFIER
CERT_LIFETIME_KEY, CERT_REQUEST_KEY
constants
Constructor and Description |
---|
OA2ClientEnvironment(MyLoggingFacade logger,
Map<String,String> constants,
URI accessTokenUri,
URI authorizationUri,
URI callback,
URI initializeURI,
URI resourceServerUri,
long certLifetime,
String clientId,
String skin,
boolean enableAssetCleanup,
long maxAssetLifetime,
long keypairLifetime,
AssetProvider assetProvider,
javax.inject.Provider<Client> clientProvider,
javax.inject.Provider<TokenForge> tokenForgeProvider,
javax.inject.Provider<DelegationService> delegationServiceProvider,
javax.inject.Provider<AssetStore> assetStoreProvider,
boolean showRedirectPage,
String errorPagePath,
String redirectPagePath,
String successPagePath,
String secret,
Collection<String> scopes,
String wellKnownURI,
boolean oidcEnabled,
boolean showIDToken,
boolean useBasicAuth) |
OA2ClientEnvironment(URI accessTokenUri,
URI authorizationUri,
URI callback,
long certLifetime,
String clientId,
DelegationService delegationService,
URI resourceServerUri,
TokenForge tokenForge,
AssetStore assetStore,
boolean showRedirectPage,
String errorPagePath,
String redirectPagePath,
String successPagePath,
boolean oidcEnabled,
boolean showIDToken,
boolean useBasicAuth) |
Modifier and Type | Method and Description |
---|---|
Client |
getClient()
A
Client object representing the instance of this service. |
Collection<String> |
getScopes() |
String |
getWellKnownURI() |
boolean |
isOidcEnabled() |
boolean |
isShowIDToken()
If the user enables showing the ID token, then information to be displayed on the success page will be
put in to the response.
|
boolean |
isUseBasicAuth() |
void |
setScopes(Collection<String> scopes) |
getAccessTokenUri, getAssetProvider, getAssetStore, getAuthorizationUri, getCallback, getCertLifetime, getClientId, getDelegationService, getErrorPagePath, getInitializeUri, getKeypairLifetime, getMaxAssetLifetime, getPrivateKey, getPrivKeyString, getPublicKey, getRedirectPagePath, getResourceServerUri, getSkin, getSuccessPagePath, getTokenForge, hasAssetStore, isEnableAssetCleanup, isShowRedirectPage, setAssetProvider, setCallback, setCertLifetime, setErrorPagePath, setRedirectPagePath, setSuccessPagePath
debug, error, getConstants, getMyLogger, info, isDebugOn, isPingable, setDebugOn, setPingable, warn
public OA2ClientEnvironment(URI accessTokenUri, URI authorizationUri, URI callback, long certLifetime, String clientId, DelegationService delegationService, URI resourceServerUri, TokenForge tokenForge, AssetStore assetStore, boolean showRedirectPage, String errorPagePath, String redirectPagePath, String successPagePath, boolean oidcEnabled, boolean showIDToken, boolean useBasicAuth)
public OA2ClientEnvironment(MyLoggingFacade logger, Map<String,String> constants, URI accessTokenUri, URI authorizationUri, URI callback, URI initializeURI, URI resourceServerUri, long certLifetime, String clientId, String skin, boolean enableAssetCleanup, long maxAssetLifetime, long keypairLifetime, AssetProvider assetProvider, javax.inject.Provider<Client> clientProvider, javax.inject.Provider<TokenForge> tokenForgeProvider, javax.inject.Provider<DelegationService> delegationServiceProvider, javax.inject.Provider<AssetStore> assetStoreProvider, boolean showRedirectPage, String errorPagePath, String redirectPagePath, String successPagePath, String secret, Collection<String> scopes, String wellKnownURI, boolean oidcEnabled, boolean showIDToken, boolean useBasicAuth)
public boolean isUseBasicAuth()
public Collection<String> getScopes()
public String getWellKnownURI()
public Client getClient()
ClientEnvironment
Client
object representing the instance of this service.getClient
in class ClientEnvironment
public boolean isOidcEnabled()
public void setScopes(Collection<String> scopes)
public boolean isShowIDToken()
Copyright © 2019. All Rights Reserved.