A D G I L O P R T V 
All Classes All Packages

A

accessTokenIntrospection(AccessToken, URI, String, String, GadgetLogger) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
 

D

de.guh.gadget.authenticationmethods - package de.guh.gadget.authenticationmethods
 
de.guh.plugin.oauth2 - package de.guh.plugin.oauth2
 

G

getAccessTokenFromRequest(GadgetRequest) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Returns Access Token found in the request's header or in the request's query parameters.
getAccessTokenFromRequest(GadgetRequest, GadgetSession) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Returns Access Token found in the request's header, in the request's query parameters or in the session.
getAuthorizationCodeFromRequest(GadgetRequest, GadgetSession) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Tries to get the Authorization Code after being redirected from authorization endpoint.
getOIDCTokens(AuthorizationCode, String, String, URI, URI, GadgetLogger) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Request the OIDC Tokens (ID Token, Access Token and Refresh Token) from token endpoint URL using the authorization code.
getPhasecount() - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Gets the number of phases which have to be executed to authenticate a user.
getPhasename(Integer) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Gets the name of the phase id.
getTokenExpirationTime(AccessToken, URI, String, String, GadgetLogger) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Return the UNIX timestamp after which the token will be expired.
getTokenLifetime(AccessToken, URI, String, String, GadgetLogger) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
returns the number of seconds until the token will be expired
getUserInfo(BearerAccessToken, URI, GadgetLogger) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Requests the UserInfo object at the user info endpoint using the Access Token

I

invalidateTokenInSession(GadgetSession) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Removes accesstoken and idtoken from session.
isExpired(BearerAccessToken) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Returns whether the given Access Token is expired by reading its "exp" value.

L

logout(GadgetRequest, GadgetSession) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Invalidates the access token.

O

OAUTH2Authenticationmethod - Class in de.guh.gadget.authenticationmethods
Provides an OAuth authentication method for gadgets.
OAUTH2Authenticationmethod() - Constructor for class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
 
OAuth2Commands - Class in de.guh.plugin.oauth2
 
OAuth2Commands() - Constructor for class de.guh.plugin.oauth2.OAuth2Commands
 

P

phase1(GadgetRequest, GadgetSession, GadgetResponse) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Phase1: Set initial session parameters.
phase2(GadgetRequest, GadgetSession, GadgetResponse) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Phase2: Check if authorization code is received and retrieve access token.
phase3(GadgetRequest, GadgetSession, GadgetResponse) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Phase3: Check access token, retrieve user info and redirect to origin requested page.
phase4(GadgetRequest, GadgetSession, GadgetResponse) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Phase4 is not used in OAuth2 Authentication
phase5(GadgetRequest, GadgetSession, GadgetResponse) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Phase5 is not used in OAuth2 Authentication

R

refreshauthentication(GadgetRequest, GadgetSession, GadgetResponse) - Method in class de.guh.gadget.authenticationmethods.OAUTH2Authenticationmethod
Tries to refresh the access token by using the refresh token.

T

testAccessToken(BearerAccessToken, URI) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Tests if the given token is valid by trying to query the user info endpoint.

V

validateToken(JWT, JWSAlgorithm, String, String, String, GadgetLogger) - Static method in class de.guh.plugin.oauth2.OAuth2Commands
Validates the given JWT token.
A D G I L O P R T V 
All Classes All Packages