All checks were successful
Build, Push and Run Container / build (push) Successful in 24s
Implements authentication against the Tesla Fleet API using OpenID Connect. Uses a custom OIDC configuration manager to override the token endpoint. Configures authentication services and adds required scopes and parameters. Adds endpoints for application registration and token retrieval during development.
19 lines
407 B
C#
19 lines
407 B
C#
namespace ProofOfConcept.Utilities;
|
|
|
|
public class Configurator
|
|
{
|
|
private readonly IHostEnvironment environment;
|
|
private readonly IConfiguration configuration;
|
|
|
|
public Configurator(IHostEnvironment environment, IConfiguration configuration)
|
|
{
|
|
this.environment = environment;
|
|
this.configuration = configuration;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
public static class ConfiguratorExtensions
|
|
{
|
|
} |