Class JWTSecret

  • All Implemented Interfaces:
    Comparable<Secret>

    public class JWTSecret
    extends Secret
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Detail

      • TOLERANCE

        public static final long TOLERANCE
        The interval of time expressed in milliseconds used as guard to refresh the token before that it expires . TimeUnit has been used to in place of just using the number to have a clearer code
      • accessToken

        protected org.gcube.common.keycloak.model.AccessToken accessToken
      • tokenResponse

        protected org.gcube.common.keycloak.model.TokenResponse tokenResponse
      • clientInfo

        protected org.gcube.common.authorization.library.provider.ClientInfo clientInfo
      • caller

        protected org.gcube.common.authorization.library.utils.Caller caller
      • context

        protected String context
    • Constructor Detail

      • JWTSecret

        public JWTSecret​(String token)