File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Azure.Messaging.EventGrid
data-plane/Microsoft.EventGrid/preview/2023-06-01-preview Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ import "@typespec/versioning";
44import "@azure-tools/typespec-azure-core" ;
55
66@ useAuth (
7- ApiKeyAuth <ApiKeyLocation .header , "SharedAccessKey" > | OAuth2Auth <[
7+ {
8+ type : AuthType .http ,
9+ scheme : "SharedAccessKey" ,
10+ } | OAuth2Auth <[
811 {
912 type : OAuth2FlowType .implicit ,
1013 authorizationUrl : "https://login.microsoftonline.com/common/oauth2/authorize" ,
Original file line number Diff line number Diff line change 3636 ],
3737 "security" : [
3838 {
39- "ApiKeyAuth " : []
39+ "http " : []
4040 },
4141 {
4242 "OAuth2Auth" : [
4545 }
4646 ],
4747 "securityDefinitions" : {
48- "ApiKeyAuth" : {
49- "type" : " apiKey" ,
50- "name" : " SharedAccessKey" ,
51- "in" : " header"
52- },
5348 "OAuth2Auth" : {
5449 "type" : " oauth2" ,
5550 "flow" : " implicit" ,
5651 "authorizationUrl" : " https://login.microsoftonline.com/common/oauth2/authorize" ,
5752 "scopes" : {
5853 "https://eventgrid.azure.net/.default" : " "
5954 }
55+ },
56+ "http" : {
57+ "type" : " basic"
6058 }
6159 },
6260 "tags" : [],
You can’t perform that action at this time.
0 commit comments