Index
All Classes and Interfaces|All Packages|Serialized Form
C
- clearAccessToken(ClientConnection, ResourceResolver) - Method in interface org.apache.sling.auth.oauth_client.OAuthTokenAccess
-
Clears the access token for the given connection and user, as identified by the resource resolver
- clearAccessToken(ClientConnection, SlingHttpServletRequest, String) - Method in interface org.apache.sling.auth.oauth_client.OAuthTokenAccess
-
Clears the access token for the given connection and user, as identified by the request.
- ClientConnection - Interface in org.apache.sling.auth.oauth_client
-
Identifies an OAuth or OIDC connection
D
- doDelete(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doDeleteWithToken(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doGeneric(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doGenericWithToken(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doGetWithToken(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doPostWithToken(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doPut(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- doPutWithToken(SlingHttpServletRequest, SlingHttpServletResponse, String) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
G
- getAccessToken(ClientConnection, SlingHttpServletRequest, String) - Method in interface org.apache.sling.auth.oauth_client.OAuthTokenAccess
-
Retrieves an existing access, valid, access token from storage.
- getRedirectPath(SlingHttpServletRequest) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- getRedirectUri() - Method in class org.apache.sling.auth.oauth_client.OAuthTokenResponse
-
Returns the URI to redirect the user to in order to start the OAuth flow
- getTokenValue() - Method in class org.apache.sling.auth.oauth_client.OAuthTokenResponse
-
Returns the a valid access token value and throws an
IllegalStateException
otherwise
H
- hasValidToken() - Method in class org.apache.sling.auth.oauth_client.OAuthTokenResponse
-
Returns true if a valid access token is present and false otherwise
I
- isInvalidAccessTokenException(Exception) - Method in class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
N
- name() - Method in interface org.apache.sling.auth.oauth_client.ClientConnection
O
- OAuthEnabledSlingServlet - Class in org.apache.sling.auth.oauth_client.support
-
Support class for implementing OAuth-enabled servlets
- OAuthEnabledSlingServlet(ClientConnection, OAuthTokenAccess) - Constructor for class org.apache.sling.auth.oauth_client.support.OAuthEnabledSlingServlet
- OAuthTokenAccess - Interface in org.apache.sling.auth.oauth_client
-
Entry point for accessing and clearing OAuth access tokens
- OAuthTokenResponse - Class in org.apache.sling.auth.oauth_client
-
Encapsulates the response to a token request.
- OAuthTokenResponse(Optional<String>, ClientConnection, SlingHttpServletRequest, String) - Constructor for class org.apache.sling.auth.oauth_client.OAuthTokenResponse
- org.apache.sling.auth.oauth_client - package org.apache.sling.auth.oauth_client
- org.apache.sling.auth.oauth_client.support - package org.apache.sling.auth.oauth_client.support
All Classes and Interfaces|All Packages|Serialized Form