main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
782 bytes
|
Line | |
---|
1 | import { ObjectElement } from '@swagger-api/apidom-core';
|
---|
2 | class OAuthFlow extends ObjectElement {
|
---|
3 | constructor(content, meta, attributes) {
|
---|
4 | super(content, meta, attributes);
|
---|
5 | this.element = 'oAuthFlow';
|
---|
6 | }
|
---|
7 | get authorizationUrl() {
|
---|
8 | return this.get('authorizationUrl');
|
---|
9 | }
|
---|
10 | set authorizationUrl(authorizationUrl) {
|
---|
11 | this.set('authorizationUrl', authorizationUrl);
|
---|
12 | }
|
---|
13 | get tokenUrl() {
|
---|
14 | return this.get('tokenUrl');
|
---|
15 | }
|
---|
16 | set tokenUrl(tokenUrl) {
|
---|
17 | this.set('tokenUrl', tokenUrl);
|
---|
18 | }
|
---|
19 | get refreshUrl() {
|
---|
20 | return this.get('refreshUrl');
|
---|
21 | }
|
---|
22 | set refreshUrl(refreshUrl) {
|
---|
23 | this.set('refreshUrl', refreshUrl);
|
---|
24 | }
|
---|
25 | get scopes() {
|
---|
26 | return this.get('scopes');
|
---|
27 | }
|
---|
28 | set scopes(scopes) {
|
---|
29 | this.set('scopes', scopes);
|
---|
30 | }
|
---|
31 | }
|
---|
32 | export default OAuthFlow; |
---|
Note:
See
TracBrowser
for help on using the repository browser.