Class TokenProvider
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.auth.role_validator.TokenProvider
@Component
public class TokenProvider
extends systems.dennis.shared.utils.ApplicationContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
ConstructorsConstructorDescriptionTokenProvider(systems.dennis.shared.config.WebContext context, UserDataRepository userRepository, SubscriptionRepo subscriptionRepo) -
Method Summary
Modifier and TypeMethodDescriptioncreateToken(UserTokenDTO dto, String tokenType, List<UserRole> roleList, systems.dennis.shared.scopes.model.ScopeModel scope) Creates a token for user.voidremoveAuthToken(String token, String type, systems.dennis.shared.scopes.model.ScopeModel scope) Methods inherited from class systems.dennis.shared.utils.ApplicationContext
canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toString
-
Field Details
-
AUTHORITIES_KEY
- See Also:
-
USER_ID
- See Also:
-
USER_EMAIL
- See Also:
-
USER_LOGIN
- See Also:
-
USER_INNER_NUMBER
- See Also:
-
ISSUER
- See Also:
-
PURCHASES
- See Also:
-
LANG
- See Also:
-
-
Constructor Details
-
Method Details