File size: 383 Bytes
1477a90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using TypeSpec.Http;

/**
 * Cloud API token.
 */
@friendlyName("CloudTokenAuth")
model CloudTokenAuth is BearerAuth;

/**
 * Cloud API web app cookie.
 */
@friendlyName("CloudCookieAuth")
model CloudCookieAuth is ApiKeyAuth<ApiKeyLocation.cookie, "__session">;

/**
 * Cloud consumer portal token.
 */
@friendlyName("CloudPortalTokenAuth")
model CloudPortalTokenAuth is BearerAuth;