mirror of
https://github.com/google-wallet/rest-samples.git
synced 2026-05-10 03:00:06 -04:00
Use scope constant in dotnet samples
This commit is contained in:
@@ -69,7 +69,7 @@ class DemoEventTicket
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class DemoFlight
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class DemoGeneric
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class DemoGiftCard
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class DemoLoyalty
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class DemoOffer
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ class DemoTransit
|
||||
.FromFile(keyFilePath)
|
||||
.CreateScoped(new List<string>
|
||||
{
|
||||
"https://www.googleapis.com/auth/wallet_object.issuer"
|
||||
WalletobjectsService.ScopeConstants.WalletObjectIssuer
|
||||
})
|
||||
.UnderlyingCredential;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user