Class ExternalUpdateTokenService

  • All Implemented Interfaces:
    Serializable

    @ApplicationScoped
    public class ExternalUpdateTokenService
    extends io.jans.service.custom.script.ExternalScriptService
    Author:
    Yuriy Movchan
    See Also:
    Serialized Form
    • Constructor Detail

      • ExternalUpdateTokenService

        public ExternalUpdateTokenService()
    • Method Detail

      • modifyIdTokenMethod

        public boolean modifyIdTokenMethod​(io.jans.model.custom.script.conf.CustomScriptConfiguration script,
                                           io.jans.as.model.token.JsonWebResponse jsonWebResponse,
                                           ExternalUpdateTokenContext context)
      • modifyIdTokenMethods

        public boolean modifyIdTokenMethods​(io.jans.as.model.token.JsonWebResponse jsonWebResponse,
                                            ExternalUpdateTokenContext context)
      • getRefreshTokenLifetimeInSeconds

        public int getRefreshTokenLifetimeInSeconds​(io.jans.model.custom.script.conf.CustomScriptConfiguration script,
                                                    ExternalUpdateTokenContext context)
      • modifyRefreshToken

        public boolean modifyRefreshToken​(io.jans.model.custom.script.conf.CustomScriptConfiguration script,
                                          RefreshToken refreshToken,
                                          ExternalUpdateTokenContext context)
      • modifyAccessToken

        public boolean modifyAccessToken​(io.jans.model.custom.script.conf.CustomScriptConfiguration script,
                                         AccessToken accessToken,
                                         ExternalUpdateTokenContext context)
      • getAccessTokenLifetimeInSeconds

        public int getAccessTokenLifetimeInSeconds​(io.jans.model.custom.script.conf.CustomScriptConfiguration script,
                                                   ExternalUpdateTokenContext context)
      • getIdTokenLifetimeInSeconds

        public int getIdTokenLifetimeInSeconds​(io.jans.model.custom.script.conf.CustomScriptConfiguration script,
                                               ExternalUpdateTokenContext context)