Class CreateJWTUseCase
java.lang.Object
com.mirna.hospitalmanagementapi.application.usecase.auth.jwt.CreateJWTUseCase
This class is used to execute the JWT create method using Algorithm HMAC256 along with the authenticated user login and id
- Version:
- 1.0
- Author:
- Mirna Gama
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CreateJWTUseCase
public CreateJWTUseCase()
-
-
Method Details
-
execute
Creates a json web token- Parameters:
user- The authenticated user- Returns:
- A string containing the json web token signed with Algorithm HMAC256
-