public static RequiredAuthType parseType(Api api) {
        return RequiredAuthType.fromValue(api.getEndpointProperties().get(
                RequiredAuthType.ENDPOINT_AUTHORIZATION_TYPE));
    }
Parse API endpoint properties to retrieve enum value (if any)

@param api the API
@return the required auth type
gateway/engine/core/src/main/java/io/apiman/gateway/engine/auth/RequiredAuthType.java