Class OAuthFlowImpl

  • All Implemented Interfaces:
    ModelImpl, org.eclipse.microprofile.openapi.models.Constructible, org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.security.OAuthFlow>, org.eclipse.microprofile.openapi.models.security.OAuthFlow

    public class OAuthFlowImpl
    extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.security.OAuthFlow>
    implements org.eclipse.microprofile.openapi.models.security.OAuthFlow, ModelImpl
    An implementation of the OAuthFlow OpenAPI model interface.
    • Constructor Detail

      • OAuthFlowImpl

        public OAuthFlowImpl()
    • Method Detail

      • getAuthorizationUrl

        public String getAuthorizationUrl()
        Specified by:
        getAuthorizationUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.getAuthorizationUrl()
      • setAuthorizationUrl

        public void setAuthorizationUrl​(String authorizationUrl)
        Specified by:
        setAuthorizationUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.setAuthorizationUrl(java.lang.String)
      • getTokenUrl

        public String getTokenUrl()
        Specified by:
        getTokenUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.getTokenUrl()
      • setTokenUrl

        public void setTokenUrl​(String tokenUrl)
        Specified by:
        setTokenUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.setTokenUrl(java.lang.String)
      • getRefreshUrl

        public String getRefreshUrl()
        Specified by:
        getRefreshUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.getRefreshUrl()
      • setRefreshUrl

        public void setRefreshUrl​(String refreshUrl)
        Specified by:
        setRefreshUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.setRefreshUrl(java.lang.String)
      • getScopes

        public Map<String,​String> getScopes()
        Specified by:
        getScopes in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
        See Also:
        OAuthFlow.getScopes()
      • setScopes

        public void setScopes​(Map<String,​String> scopes)
        Specified by:
        setScopes in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
      • addScope

        public org.eclipse.microprofile.openapi.models.security.OAuthFlow addScope​(String scope,
                                                                                   String description)
        Specified by:
        addScope in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
      • removeScope

        public void removeScope​(String scope)
        Specified by:
        removeScope in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow