Uses of Interface
org.forgerock.oauth.DataStore
-
Packages that use DataStore Package Description org.forgerock.oauth Commons OAuth Framework API.org.forgerock.oauth.clients.apple Forgerock Apple Client implementation.org.forgerock.oauth.clients.facebook Forgerock Facebook Client Implementation.org.forgerock.oauth.clients.linkedin Forgerock LinkedIn Client Implementation.org.forgerock.oauth.clients.oauth2 OAuth 2.0 ForgeRock Client Implementation.org.forgerock.oauth.clients.oidc OpenID Connect ForgeRock Client Implementation. -
-
Uses of DataStore in org.forgerock.oauth
Methods in org.forgerock.oauth with parameters of type DataStore Modifier and Type Method Description Promise<URI,OAuthException>
OAuthClient. getAuthRedirect(DataStore dataStore, String data, URI landingPage)
Return the URI that the user agent should be redirected to, to authenticate and authorize access.Promise<? extends SessionInfo,OAuthException>
OAuthClient. getSessionInfo(DataStore dataStore)
Validate whether an Auth Server session is still active and valid.Promise<UserInfo,OAuthException>
OAuthClient. getUserInfo(DataStore dataStore)
Return the authenticated user's info from the external authentication server.Promise<JsonValue,OAuthException>
OAuthClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)
Handle the data produced by the Auth Server as a result of a successful authentication and return the final redirect to the mobile device.Promise<JsonValue,OAuthException>
OAuthClient. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)
Handle the data produced by the Auth Server as a result of a successful authentication and return the final redirect to the landing page specified in theOAuthClient.getAuthRedirect(DataStore, String, URI)
call.Promise<Void,OAuthException>
OAuthClient. refresh(DataStore dataStore)
Refreshes a token if it has expired. -
Uses of DataStore in org.forgerock.oauth.clients.apple
Methods in org.forgerock.oauth.clients.apple with parameters of type DataStore Modifier and Type Method Description Promise<UserInfo,OAuthException>
AppleClient. getUserInfo(DataStore dataStore)
Promise<JsonValue,OAuthException>
AppleClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> requestParameters)
Promise<JsonValue,OAuthException>
AppleClient. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)
-
Uses of DataStore in org.forgerock.oauth.clients.facebook
Methods in org.forgerock.oauth.clients.facebook with parameters of type DataStore Modifier and Type Method Description Promise<JsonValue,OAuthException>
FacebookClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)
protected Function<JsonValue,JsonValue,OAuthException>
FacebookClient. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)
-
Uses of DataStore in org.forgerock.oauth.clients.linkedin
Methods in org.forgerock.oauth.clients.linkedin with parameters of type DataStore Modifier and Type Method Description Promise<UserInfo,OAuthException>
LinkedInClient. getUserInfo(DataStore dataStore)
-
Uses of DataStore in org.forgerock.oauth.clients.oauth2
Methods in org.forgerock.oauth.clients.oauth2 with parameters of type DataStore Modifier and Type Method Description protected Promise<JsonValue,OAuthException>
OAuth2Client. createPostResponse(DataStore dataStore, JsonValue storedData)
Creates the post response.Promise<URI,OAuthException>
OAuth2Client. getAuthRedirect(DataStore dataStore, String data, URI landingPage)
Promise<? extends OAuth2SessionInfo,OAuthException>
OAuth2Client. getSessionInfo(DataStore dataStore)
Promise<UserInfo,OAuthException>
OAuth2Client. getUserInfo(DataStore dataStore)
Promise<JsonValue,OAuthException>
OAuth2Client. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)
Promise<JsonValue,OAuthException>
OAuth2Client. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)
Promise<Void,OAuthException>
OAuth2Client. refresh(DataStore dataStore)
protected Function<JsonValue,Void,OAuthException>
OAuth2Client. storeResponse(DataStore dataStore)
Stores all the information received from an authentication or authorization server.protected Function<JsonValue,JsonValue,OAuthException>
OAuth2Client. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)
Compare client_id from access token associated data with configured client_id.Constructors in org.forgerock.oauth.clients.oauth2 with parameters of type DataStore Constructor Description OAuth2SessionInfo(Clock clock, DataStore dataStore)
Constructs a OAuth2SessionInfo object. -
Uses of DataStore in org.forgerock.oauth.clients.oidc
Methods in org.forgerock.oauth.clients.oidc with parameters of type DataStore Modifier and Type Method Description protected URI
OpenIDConnectClient. createAuthRedirectUri(String state, String pkceChallenge, String nonce, DataStore dataStore)
Creates aURI
that the user agent will be redirected to for authentication and authorization.Promise<URI,OAuthException>
OpenIDConnectClient. getAuthRedirect(DataStore dataStore, String data, URI landingPage)
protected JwtClaimsSet
OpenIDConnectClient. getJwtClaimsSet(DataStore dataStore)
Retrieves the claims set from the data store.Promise<? extends OAuth2SessionInfo,OAuthException>
OpenIDConnectClient. getSessionInfo(DataStore dataStore)
Promise<UserInfo,OAuthException>
OpenIDConnectClient. getUserInfo(DataStore dataStore)
Promise<JsonValue,OAuthException>
OpenIDConnectClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)
Promise<JsonValue,OAuthException>
OpenIDConnectClient. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)
protected Function<JsonValue,JsonValue,OAuthException>
OpenIDConnectClient. validateSub(DataStore dataStore)
Validates the sub Claim in the UserInfo Response is an exact match to the sub Claim in the ID Token.Constructors in org.forgerock.oauth.clients.oidc with parameters of type DataStore Constructor Description OpenIDConnectSessionInfo(Clock clock, DataStore dataStore, JwtClaimsSet jwtClaimsSet)
Constructs a OpenIDConnectSessionInfo object.
-