Class AWSTokenImpl

java.lang.Object
it.unimib.unimibmodules.service.AWSTokenImpl
All Implemented Interfaces:
AWSToken

@Component("awsToken") public class AWSTokenImpl extends Object implements AWSToken
Service class used to get an User's token from AWS Cognito.
Version:
0.4.1
Author:
Khalil Mohamed, Luca Milazzo
  • Constructor Details

    • AWSTokenImpl

      public AWSTokenImpl()
  • Method Details

    • getToken

      public com.amazonaws.services.cognitoidentity.model.GetOpenIdTokenForDeveloperIdentityResult getToken(int idUser)
      Get the User's token from AWS Cognito
      Specified by:
      getToken in interface AWSToken
      Parameters:
      idUser - the id of the logged user.
      Returns:
      GetOpenIdTokenForDeveloperIdentityResult instance