# Index

A C D G H I L N O P S U V
All Classes and Interfaces|All Packages|Serialized Form

## A

addGroup(String) - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials

## C

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.
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
ClientConnection - Interface in org.apache.sling.auth.oauth_client
  Identifies an OAuth or OIDC connection
connection() - Method in interface org.apache.sling.auth.oauth_client.spi.UserInfoProcessor

## 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.
getAttribute(String) - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
getAttributes() - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
getGroups() - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
getIdp() - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
getLoginCookie(HttpServletRequest) - Method in interface org.apache.sling.auth.oauth_client.spi.LoginCookieManager
  Get the login cookie from the request.
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 a valid access token value and throws an `IllegalStateException` otherwise
getUserId() - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials

## 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

## L

LoginCookieManager - Interface in org.apache.sling.auth.oauth_client.spi
  This class is responsible for managing authentication cookie.

## 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
OidcAuthCredentials - Class in org.apache.sling.auth.oauth_client.spi
OidcAuthCredentials(String, String) - Constructor for class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
org.apache.sling.auth.oauth_client - package org.apache.sling.auth.oauth_client
org.apache.sling.auth.oauth_client.spi - package org.apache.sling.auth.oauth_client.spi
org.apache.sling.auth.oauth_client.support - package org.apache.sling.auth.oauth_client.support

## P

process(String, String, String, String) - Method in interface org.apache.sling.auth.oauth_client.spi.UserInfoProcessor
  This method is called by the OIDC authentication handler after the user info and token response have been received from the identity provider.

## S

setAttribute(String, String) - Method in class org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
setLoginCookie(HttpServletRequest, HttpServletResponse, Credentials) - Method in interface org.apache.sling.auth.oauth_client.spi.LoginCookieManager
  Set the login cookie in the response after a successful authentication.

## U

UserInfoProcessor - Interface in org.apache.sling.auth.oauth_client.spi
  Process the user info received from the identity provider and return the credentials that will be returned by the authentication handler.

## V

verifyLoginCookie(HttpServletRequest) - Method in interface org.apache.sling.auth.oauth_client.spi.LoginCookieManager
  Verify the login cookie in the request.

A C D G H I L N O P S U V
All Classes and Interfaces|All Packages|Serialized Form