LogtoConnectionStringHelper
Classstaticnet10.0
Provides utility methods for extracting and validating endpoint information from connection strings in various formats. This helper is specifically designed to assist with parsing connection strings for use with the Logto client configuration.
namespace CommunityToolkit.Aspire.Logto.Client;
public static class LogtoConnectionStringHelper{ // ...}Methods1
Section titled Methodsstring? Retrieves the endpoint value from a given connection string. If the connection string is a valid URI, the method returns the URI as a string. If the connection string is in a key-value pair format, it extracts the value of the "Endpoint" key if present and validates it as a URI.