Package sonia.scm.security
Interface AccessTokenEnricher
@ExtensionPoint
public interface AccessTokenEnricher
AccessTokenEnricher is able to enhance the
AccessToken
, before it is delivered to the client.
AccessTokenEnricher can be used to add custom fields to the AccessToken
. The enricher is always called before
an AccessToken
is build by the AccessTokenBuilder
.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enrich
(AccessTokenBuilder builder) Enriches the access token by adding fields to theAccessTokenBuilder
.
-
Method Details
-
enrich
Enriches the access token by adding fields to theAccessTokenBuilder
.- Parameters:
builder
- access token builder
-