public class OidcIdTokenGeneratorService
extends java.lang.Object
OidcIdTokenGeneratorService
.Constructor and Description |
---|
OidcIdTokenGeneratorService(CasConfigurationProperties casProperties,
OidcIdTokenSigningAndEncryptionService signingService,
ServicesManager servicesManager) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AccessToken accessTokenId,
long timeoutInSeconds,
OAuth20ResponseTypes responseType,
OAuthRegisteredService registeredService)
Generate string.
|
protected org.jose4j.jwt.JwtClaims |
produceIdTokenClaims(javax.servlet.http.HttpServletRequest request,
AccessToken accessTokenId,
long timeoutInSeconds,
OidcRegisteredService service,
org.pac4j.core.profile.UserProfile profile,
org.pac4j.core.context.J2EContext context,
OAuth20ResponseTypes responseType)
Produce id token claims jwt claims.
|
public OidcIdTokenGeneratorService(CasConfigurationProperties casProperties, OidcIdTokenSigningAndEncryptionService signingService, ServicesManager servicesManager)
public java.lang.String generate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AccessToken accessTokenId, long timeoutInSeconds, OAuth20ResponseTypes responseType, OAuthRegisteredService registeredService)
request
- the requestresponse
- the responseaccessTokenId
- the access token idtimeoutInSeconds
- the timeoutInSecondsresponseType
- the response typeregisteredService
- the registered serviceprotected org.jose4j.jwt.JwtClaims produceIdTokenClaims(javax.servlet.http.HttpServletRequest request, AccessToken accessTokenId, long timeoutInSeconds, OidcRegisteredService service, org.pac4j.core.profile.UserProfile profile, org.pac4j.core.context.J2EContext context, OAuth20ResponseTypes responseType)
request
- the requestaccessTokenId
- the access token idtimeoutInSeconds
- the timeoutInSecondsservice
- the serviceprofile
- the user profilecontext
- the contextresponseType
- the response type