Uses of Class
com.janeirodigital.sai.authentication.AccessToken
-
Uses of AccessToken in com.janeirodigital.sai.authentication
Methods in com.janeirodigital.sai.authentication that return AccessTokenModifier and TypeMethodDescriptionAuthorizedSession.getAccessToken()Gets theAccessTokenassociated with theAuthorizedSessionstatic AccessTokenAuthorizedSessionHelper.getAccessTokenFromRequest(okhttp3.Request request) Extracts the value of an access token from the Authorization header of an HTTP request.protected static AccessTokenClientCredentialsSession.obtainToken(String clientIdentifier, String clientSecret, URI oidcTokenEndpoint, com.nimbusds.oauth2.sdk.Scope scope) POSTs a token request to the token endpoint of the oidcProvider using the providedclientIdentifierandclientSecretto authenticate and request the providedscope.static AccessTokenAuthorizedSessionHelper.translateAccessToken(com.nimbusds.oauth2.sdk.token.AccessToken nimbusAccessToken) Translates a nimbus native AccessToken into the generic sai-java formatMethods in com.janeirodigital.sai.authentication with parameters of type AccessTokenModifier and TypeMethodDescriptionAuthorizedSessionAccessor.get(AccessToken accessToken) Get anAuthorizedSessionbased on the value of anAccessTokenBasicAuthorizedSessionAccessor.get(AccessToken accessToken) Searches the in-memory session store for anAuthorizedSessionwith the same access token value as the one in the providedaccessToken.