com.mangofactory.swagger.authorization
Class AuthorizationContext

java.lang.Object
  extended by com.mangofactory.swagger.authorization.AuthorizationContext

public class AuthorizationContext
extends java.lang.Object

A class to represent a default set of authorizations to apply to each api operation To customize which request mappings the list of authorizations are applied to Specify the custom includePatterns or requestMethods


Nested Class Summary
static class AuthorizationContext.AuthorizationContextBuilder
           
 
Method Summary
 java.util.List<com.mangofactory.swagger.models.dto.Authorization> getAuthorizations()
           
 java.util.List<com.mangofactory.swagger.models.dto.Authorization> getAuthorizationsForPath(java.lang.String path)
           
 java.util.List<com.mangofactory.swagger.models.dto.Authorization> getScalaAuthorizations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAuthorizationsForPath

public java.util.List<com.mangofactory.swagger.models.dto.Authorization> getAuthorizationsForPath(java.lang.String path)

getAuthorizations

public java.util.List<com.mangofactory.swagger.models.dto.Authorization> getAuthorizations()

getScalaAuthorizations

public java.util.List<com.mangofactory.swagger.models.dto.Authorization> getScalaAuthorizations()