Class AmazonCognito

All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, AwsCloudFeature, AwsFeature, Feature, CloudFeature, SecurityAuthenticationModeProvider, SecurityOAuth2Configuration

@Singleton public class AmazonCognito extends SecurityOAuth2Feature implements AwsFeature, SecurityOAuth2Configuration, SecurityAuthenticationModeProvider
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • getTitle

      @NonNull public @NonNull String getTitle()
      Specified by:
      getTitle in interface Feature
      Returns:
      The title of the feature
    • getDescription

      @NonNull public @NonNull String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Specified by:
      getDescription in interface Feature
    • supports

      public boolean supports(ApplicationType applicationType)
      Description copied from interface: Feature
      This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.
      Specified by:
      supports in interface Feature
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • getCategory

      @NonNull public @NonNull String getCategory()
      Specified by:
      getCategory in interface Feature
      Returns:
      The Category to which the feature belongs to.
    • getIssuer

      @NonNull public @NonNull String getIssuer()
      Specified by:
      getIssuer in interface SecurityOAuth2Configuration
    • getSecurityAuthenticationMode

      @NonNull public @NonNull SecurityAuthenticationMode getSecurityAuthenticationMode()
      Specified by:
      getSecurityAuthenticationMode in interface SecurityAuthenticationModeProvider