Package | Description |
---|---|
org.eclipse.microprofile.openapi.models.security |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
OAuthFlow |
OAuthFlow.authorizationUrl(String authorizationUrl)
The authorization URL to be used for this flow.
|
OAuthFlow |
OAuthFlows.getAuthorizationCode()
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
OAuthFlow |
OAuthFlows.getClientCredentials()
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
OAuthFlow |
OAuthFlows.getImplicit()
This method returns the implicit property from OAuthFlows instance.
|
OAuthFlow |
OAuthFlows.getPassword()
OAuth Resource Owner Password flow
|
OAuthFlow |
OAuthFlow.refreshUrl(String refreshUrl)
The URL to be used for obtaining refresh tokens.
|
OAuthFlow |
OAuthFlow.scopes(Scopes scopes)
The available scopes for the OAuth2 security scheme.
|
OAuthFlow |
OAuthFlow.tokenUrl(String tokenUrl)
The token URL to be used for this flow.
|
Modifier and Type | Method and Description |
---|---|
OAuthFlows |
OAuthFlows.authorizationCode(OAuthFlow authorizationCode)
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
OAuthFlows |
OAuthFlows.clientCredentials(OAuthFlow clientCredentials)
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
OAuthFlows |
OAuthFlows.implicit(OAuthFlow implicit)
This method sets the implicit property of OAuthFlows instance to the given implicit argument and returns the modified instance.
|
OAuthFlows |
OAuthFlows.password(OAuthFlow password)
OAuth Resource Owner Password flow
|
void |
OAuthFlows.setAuthorizationCode(OAuthFlow authorizationCode)
OAuth Authorization Code flow; previously called accessCode in OpenAPI 2.0
|
void |
OAuthFlows.setClientCredentials(OAuthFlow clientCredentials)
OAuth Client Credential flow; previously called application in OpenAPI 2.0
|
void |
OAuthFlows.setImplicit(OAuthFlow implicit)
This method sets the implicit property of OAuthFlows instance to the given implicit argument.
|
void |
OAuthFlows.setPassword(OAuthFlow password)
OAuth Resource Owner Password flow
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.