public class OAuthReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.security.OAuthFlows |
readOAuthFlows(org.jboss.jandex.AnnotationValue annotationValue)
Reads an OAuthFlows annotation into a model.
|
static org.eclipse.microprofile.openapi.models.security.OAuthFlows |
readOAuthFlows(com.fasterxml.jackson.databind.JsonNode node)
Reads a
OAuthFlows OpenAPI node. |
static Map<String,String> |
readOAuthScopes(com.fasterxml.jackson.databind.JsonNode node)
Reads a map of OAuth scopes.
|
public static org.eclipse.microprofile.openapi.models.security.OAuthFlows readOAuthFlows(org.jboss.jandex.AnnotationValue annotationValue)
annotationValue - the annotation valuepublic static org.eclipse.microprofile.openapi.models.security.OAuthFlows readOAuthFlows(com.fasterxml.jackson.databind.JsonNode node)
OAuthFlows OpenAPI node.node - the json objectCopyright © 2018–2021. All rights reserved.