Use scope constant in dotnet samples

This commit is contained in:
Stephen McDonald
2024-02-22 09:24:53 +11:00
parent cd24293464
commit 047d412c88
7 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ class DemoEventTicket
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;

View File

@@ -69,7 +69,7 @@ class DemoFlight
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;

View File

@@ -69,7 +69,7 @@ class DemoGeneric
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;

View File

@@ -69,7 +69,7 @@ class DemoGiftCard
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;

View File

@@ -69,7 +69,7 @@ class DemoLoyalty
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;

View File

@@ -69,7 +69,7 @@ class DemoOffer
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;

View File

@@ -69,7 +69,7 @@ class DemoTransit
.FromFile(keyFilePath)
.CreateScoped(new List<string>
{
"https://www.googleapis.com/auth/wallet_object.issuer"
WalletobjectsService.ScopeConstants.WalletObjectIssuer
})
.UnderlyingCredential;