Class OAuthReader
- java.lang.Object
-
- io.smallrye.openapi.runtime.io.oauth.OAuthReader
-
public class OAuthReader extends Object
Reading the Oauth flow annotation- Author:
- Phillip Kruger ([email protected]), Eric Wittmann ([email protected])
- See Also:
- oauthFlowsObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.microprofile.openapi.models.security.OAuthFlows
readOAuthFlows(com.fasterxml.jackson.databind.JsonNode node)
Reads aOAuthFlows
OpenAPI node.static org.eclipse.microprofile.openapi.models.security.OAuthFlows
readOAuthFlows(org.jboss.jandex.AnnotationValue annotationValue)
Reads an OAuthFlows annotation into a model.static Map<String,String>
readOAuthScopes(com.fasterxml.jackson.databind.JsonNode node)
Reads a map of OAuth scopes.
-
-
-
Method Detail
-
readOAuthFlows
public static org.eclipse.microprofile.openapi.models.security.OAuthFlows readOAuthFlows(org.jboss.jandex.AnnotationValue annotationValue)
Reads an OAuthFlows annotation into a model.- Parameters:
annotationValue
- the annotation value- Returns:
- OAuthFlows model
-
readOAuthFlows
public static org.eclipse.microprofile.openapi.models.security.OAuthFlows readOAuthFlows(com.fasterxml.jackson.databind.JsonNode node)
Reads aOAuthFlows
OpenAPI node.- Parameters:
node
- the json object- Returns:
- OAuthFlows model
-
-