Package net.coderazzi.openapi4aws.plugin
Class Authorizer
- java.lang.Object
-
- net.coderazzi.openapi4aws.plugin.Authorizer
-
- All Implemented Interfaces:
net.coderazzi.openapi4aws.Configuration.Authorizer
public class Authorizer extends Object implements net.coderazzi.openapi4aws.Configuration.Authorizer
-
-
Constructor Summary
Constructors Constructor Description Authorizer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck()List<String>getAudience()StringgetAuthorizationType()StringgetElementName()Map<Object,Object>getFlows()StringgetIdentitySource()StringgetIssuer()StringgetName()StringgetType()protected voidrequireField(Object field, String fieldName)protected voidrequireValue(String fieldValue, String requiredValue, String fieldName)static voidthrowException(String msg)
-
-
-
Method Detail
-
getName
public String getName()
-
getIdentitySource
public String getIdentitySource()
- Specified by:
getIdentitySourcein interfacenet.coderazzi.openapi4aws.Configuration.Authorizer
-
getAudience
public List<String> getAudience()
- Specified by:
getAudiencein interfacenet.coderazzi.openapi4aws.Configuration.Authorizer
-
getAuthorizationType
public String getAuthorizationType()
- Specified by:
getAuthorizationTypein interfacenet.coderazzi.openapi4aws.Configuration.Authorizer
-
getType
public String getType()
- Specified by:
getTypein interfacenet.coderazzi.openapi4aws.Configuration.Authorizer
-
getIssuer
public String getIssuer()
- Specified by:
getIssuerin interfacenet.coderazzi.openapi4aws.Configuration.Authorizer
-
getFlows
public Map<Object,Object> getFlows()
- Specified by:
getFlowsin interfacenet.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()
-
-