Esempio n. 1
0
 public static PlayerAuthServiceClient CreatePlayerAuthClient(Options.Common options)
 {
     return(string.IsNullOrEmpty(options.Environment)
         ? PlayerAuthServiceClient.Create()
         : PlayerAuthServiceClient.Create(GetEndpoint(options.Environment),
                                          GetTokenCredential(options.Environment)));
 }
Esempio n. 2
0
 public static SnapshotServiceClient CreateSnapshotClient(Options.Common options)
 {
     return(string.IsNullOrEmpty(options.Environment)
         ? SnapshotServiceClient.Create()
         : SnapshotServiceClient.Create(GetEndpoint(options.Environment),
                                        GetTokenCredential(options.Environment)));
 }