public class OAuthFlowsObject extends Object
OAuthFlowsObjectBuilder
Modifier and Type | Field and Description |
---|---|
OAuthFlowObject |
authorizationCode
Deprecated.
use
authorizationCode() instead |
OAuthFlowObject |
clientCredentials
Deprecated.
use
clientCredentials() instead |
OAuthFlowObject |
implicit
Deprecated.
use
implicit() instead |
OAuthFlowObject |
password
Deprecated.
use
password() instead |
Modifier and Type | Method and Description |
---|---|
OAuthFlowObject |
authorizationCode() |
OAuthFlowObject |
clientCredentials() |
OAuthFlowObject |
implicit() |
OAuthFlowObject |
password() |
void |
writeJson(Writer writer)
Writes this object as a JSON Object
|
@Deprecated public final OAuthFlowObject implicit
implicit()
instead@Deprecated public final OAuthFlowObject password
password()
instead@Deprecated public final OAuthFlowObject clientCredentials
clientCredentials()
instead@Deprecated public final OAuthFlowObject authorizationCode
authorizationCode()
insteadpublic void writeJson(Writer writer) throws IOException
writer
- The writer to write toIOException
- Thrown if the writer throws this while writingpublic OAuthFlowObject implicit()
OAuthFlowsObjectBuilder.withImplicit(io.muserver.openapi.OAuthFlowObject)
public OAuthFlowObject password()
OAuthFlowsObjectBuilder.withPassword(io.muserver.openapi.OAuthFlowObject)
public OAuthFlowObject clientCredentials()
OAuthFlowsObjectBuilder.withClientCredentials(io.muserver.openapi.OAuthFlowObject)
public OAuthFlowObject authorizationCode()
OAuthFlowsObjectBuilder.withAuthorizationCode(io.muserver.openapi.OAuthFlowObject)
Copyright © 2017–2021. All rights reserved.