Class Authorizer

  • All Implemented Interfaces:
    net.coderazzi.openapi4aws.Configuration.Authorizer

    public class Authorizer
    extends Object
    implements net.coderazzi.openapi4aws.Configuration.Authorizer
    • Constructor Detail

      • Authorizer

        public Authorizer()
    • Method Detail

      • getName

        public String getName()
      • getIdentitySource

        public String getIdentitySource()
        Specified by:
        getIdentitySource in interface net.coderazzi.openapi4aws.Configuration.Authorizer
      • getAudience

        public List<String> getAudience()
        Specified by:
        getAudience in interface net.coderazzi.openapi4aws.Configuration.Authorizer
      • getAuthorizationType

        public String getAuthorizationType()
        Specified by:
        getAuthorizationType in interface net.coderazzi.openapi4aws.Configuration.Authorizer
      • getType

        public String getType()
        Specified by:
        getType in interface net.coderazzi.openapi4aws.Configuration.Authorizer
      • getIssuer

        public String getIssuer()
        Specified by:
        getIssuer in interface net.coderazzi.openapi4aws.Configuration.Authorizer
      • getFlows

        public Map<Object,​Object> getFlows()
        Specified by:
        getFlows in interface net.coderazzi.openapi4aws.Configuration.Authorizer
      • check

        public void check()
                   throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • throwException

        public static void throwException​(String msg)
                                   throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • requireField

        protected void requireField​(Object field,
                                    String fieldName)
                             throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • requireValue

        protected void requireValue​(String fieldValue,
                                    String requiredValue,
                                    String fieldName)
                             throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getElementName

        public String getElementName()