Interface IdentityAssertionPluginTechPreview
-
- All Known Implementing Classes:
ScriptableIdentityAssertionPluginTechPreview
public interface IdentityAssertionPluginTechPreview
Implementations of this interface carry out some user processing and returns the claims that should be included in the Assertion JWT in theIdentityAssertionClaims
. The processing may include some form of local authentication and/or authorization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Filter
preProcessingFilter()
Return aFilter
to deal with any pre-processing requirements.Promise<IdentityAssertionClaims,IdentityAssertionException>
process(Context context, Request request, Map<String,Object> incomingClaims)
Preform some processing and return a set of claims to be returned in the Assertion JWT.
-
-
-
Method Detail
-
preProcessingFilter
default Filter preProcessingFilter()
Return aFilter
to deal with any pre-processing requirements. The default implementation simply calls the nextHandler
without doing any processing.- Returns:
- a
Filter
to deal with any pre-processing requirements.
-
process
Promise<IdentityAssertionClaims,IdentityAssertionException> process(Context context, Request request, Map<String,Object> incomingClaims)
Preform some processing and return a set of claims to be returned in the Assertion JWT. The processing may include some form of local authentication and/or authorization.- Parameters:
context
- The context.request
- The request.incomingClaims
- The claims provided in the JWT from the requester based on the incoming claim keys.- Returns:
- An
IdentityAssertionClaims
promise that represents claims to be returned in the Assertion JWT.
-
-