Class OAuth
- java.lang.Object
-
- springfox.documentation.swagger1.dto.AuthorizationType
-
- springfox.documentation.swagger1.dto.OAuth
-
public class OAuth extends AuthorizationType
-
-
Constructor Summary
Constructors Constructor Description OAuth()OAuth(java.util.List<AuthorizationScope> scopes, java.util.List<GrantType> gTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GrantType>getGrantTypes()java.lang.StringgetName()java.util.List<AuthorizationScope>getScopes()voidsetGrantTypes(java.util.List<GrantType> grantTypes)voidsetScopes(java.util.List<AuthorizationScope> scopes)-
Methods inherited from class springfox.documentation.swagger1.dto.AuthorizationType
getType, setName
-
-
-
-
Constructor Detail
-
OAuth
public OAuth()
-
OAuth
public OAuth(java.util.List<AuthorizationScope> scopes, java.util.List<GrantType> gTypes)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Overrides:
getNamein classAuthorizationType
-
getScopes
public java.util.List<AuthorizationScope> getScopes()
-
setScopes
public void setScopes(java.util.List<AuthorizationScope> scopes)
-
getGrantTypes
public java.util.List<GrantType> getGrantTypes()
-
setGrantTypes
public void setGrantTypes(java.util.List<GrantType> grantTypes)
-
-