private SignalRConnectionInfo GetClientConnectionInfo(SignalRConnectionInfoAttribute attribute) { var signalR = new AzureSignalRClient(attribute.ConnectionStringSetting, httpClient); var claims = attribute.GetClaims(); return(signalR.GetClientConnectionInfo(attribute.HubName, claims)); }
private void ValidateSignalRConnectionInfoAttributeBinding(SignalRConnectionInfoAttribute attribute, Type type) { ValidateConnectionString( attribute.ConnectionStringSetting, $"{nameof(SignalRConnectionInfoAttribute)}.{nameof(SignalRConnectionInfoAttribute.ConnectionStringSetting)}"); }
private SignalRConnectionInfo GetClientConnectionInfo(SignalRConnectionInfoAttribute attribute) { var client = GetAzureSignalRClient(attribute.ConnectionStringSetting, attribute.HubName); return(client.GetClientConnectionInfo(attribute.UserId, attribute.IdToken, attribute.ClaimTypeList)); }
private AzureSignalRConnectionInfo GetConnectionInfo(SignalRConnectionInfoAttribute attribute) { var signalR = new AzureSignalR(attribute.ConnectionStringSetting); return(signalR.GetClientConnectionInfo(attribute.HubName)); }
private SignalRConnectionInfo GetClientConnectionInfo(SignalRConnectionInfoAttribute attribute) { var signalR = new AzureSignalRClient(StaticServiceHubContextStore.ServiceHubContextStore, serviceManager); return(signalR.GetClientConnectionInfo(attribute.HubName, attribute.UserId, attribute.IdToken, attribute.ClaimTypeList)); }
private SignalRConnectionInfo GetClientConnectionInfo(SignalRConnectionInfoAttribute attribute) { var signalR = new AzureSignalRClient(attribute.ConnectionStringSetting, httpClientFactory.CreateClient()); return(signalR.GetClientConnectionInfo(attribute.HubName)); }