@redocly/replay 0.82.4-rc.1 → 0.83.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/replay.d.ts CHANGED
@@ -99,6 +99,7 @@ clientSecret: string;
99
99
  tokenUrl: string;
100
100
  authorizationUrl: string;
101
101
  callbackUrl: string;
102
+ availableScopes: string;
102
103
  scopes: string;
103
104
  codeVerifier: string;
104
105
  codeChallenge: string;
@@ -108,6 +109,47 @@ Implicit: {
108
109
  clientId: string;
109
110
  authorizationUrl: string;
110
111
  callbackUrl: string;
112
+ availableScopes: string;
113
+ scopes: string;
114
+ accessToken: string;
115
+ };
116
+ Password: {
117
+ username: string;
118
+ password: string;
119
+ clientId: string;
120
+ clientSecret: string;
121
+ tokenUrl: string;
122
+ accessToken: string;
123
+ };
124
+ };
125
+ "OpenID Connect": {
126
+ openIdConnectUrl: string;
127
+ userInfoUrl: string;
128
+ documentedOAuth2Types: SecurityFlows[];
129
+ grantType: SecurityFlows;
130
+ "Client Credentials": {
131
+ clientId: string;
132
+ clientSecret: string;
133
+ tokenUrl: string;
134
+ accessToken: string;
135
+ };
136
+ "Authorization Code": {
137
+ clientId: string;
138
+ clientSecret: string;
139
+ tokenUrl: string;
140
+ authorizationUrl: string;
141
+ callbackUrl: string;
142
+ availableScopes: string;
143
+ scopes: string;
144
+ codeVerifier: string;
145
+ codeChallenge: string;
146
+ accessToken: string;
147
+ };
148
+ Implicit: {
149
+ clientId: string;
150
+ authorizationUrl: string;
151
+ callbackUrl: string;
152
+ availableScopes: string;
111
153
  scopes: string;
112
154
  accessToken: string;
113
155
  };
@@ -236,6 +278,7 @@ declare type OperationParameterSchema = {
236
278
  export declare type OperationSecurity = {
237
279
  id: string;
238
280
  type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
281
+ openIdConnectUrl?: string;
239
282
  scopes: string[];
240
283
  in?: 'query' | 'header' | 'cookie';
241
284
  scheme?: string;
@@ -360,7 +403,8 @@ declare enum SecurityTypes {
360
403
  BasicAuth = "Basic Auth",
361
404
  JWT = "JWT",
362
405
  APIKey = "API key",
363
- OAuth2 = "OAuth 2.0"
406
+ OAuth2 = "OAuth 2.0",
407
+ OpenIDConnect = "OpenID Connect"
364
408
  }
365
409
 
366
410
  declare type Server = {