lubelog/Models/OIDC/OpenIDConfig.cs
DESKTOP-T0O5CDB\DESK-555BD d5f0e57c3b Added OpenID login.
2024-02-15 18:57:22 -07:00

15 lines
545 B
C#

namespace CarCareTracker.Models
{
public class OpenIDConfig
{
public string Name { get; set; }
public string ClientId { get; set; }
public string ClientSecret { get; set; }
public string AuthURL { get; set; }
public string TokenURL { get; set; }
public string RedirectURL { get; set; }
public string Scope { get; set; }
public string RemoteAuthURL { get { return $"{AuthURL}?client_id={ClientId}&response_type=code&redirect_uri={RedirectURL}&scope={Scope}"; } }
}
}