
package.es.elements.OAuthFlow.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-asyncapi-2 Show documentation
Show all versions of apidom-ns-asyncapi-2 Show documentation
AsyncAPI 2.x.y namespace for ApiDOM.
import { ObjectElement } from '@swagger-api/apidom-core';
class OAuthFlow extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'oAuthFlow';
}
get authorizationUrl() {
return this.get('authorizationUrl');
}
set authorizationUrl(authorizationUrl) {
this.set('authorizationUrl', authorizationUrl);
}
get tokenUrl() {
return this.get('tokenUrl');
}
set tokenUrl(tokenUrl) {
this.set('tokenUrl', tokenUrl);
}
get refreshUrl() {
return this.get('refreshUrl');
}
set refreshUrl(refreshUrl) {
this.set('refreshUrl', refreshUrl);
}
get scopes() {
return this.get('scopes');
}
set scopes(scopes) {
this.set('scopes', scopes);
}
}
export default OAuthFlow;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy