コード例 #1
0
        public AuthController(DeviceSpecificAppServerContext context,
                              INotificationsProvider notificationsProvider)
        {
            this.context = context;
            this.notificationsProvider = notificationsProvider;
            signingKey = Environment.GetEnvironmentVariable("WEBSITE_AUTH_SIGNING_KEY");
            var website = Environment.GetEnvironmentVariable("WEBSITE_HOSTNAME");

            audience = $"https://{website}/";
            issuer   = $"https://{website}/";
        }
コード例 #2
0
 public ChatController(DeviceSpecificAppServerContext context,
                       INotificationsProvider notificationsProvider)
 {
     this.context = context;
     this.notificationsProvider = notificationsProvider;
 }