Class PlanningCenterAuthenticationDefaults
- Namespace
- Crews.PlanningCenter.Api.Authentication
- Assembly
- Crews.PlanningCenter.Api.dll
Default values for Planning Center authentication.
public static class PlanningCenterAuthenticationDefaults
- Inheritance
-
PlanningCenterAuthenticationDefaults
- Inherited Members
Fields
AccessTokenLifetimeSeconds
The access token lifetime in seconds (2 hours).
public const int AccessTokenLifetimeSeconds = 7200
Field Value
AuthenticationScheme
The default authentication scheme name for Planning Center OIDC.
public const string AuthenticationScheme = "PlanningCenter"
Field Value
AuthorizationEndpoint
The OAuth 2.0 authorization endpoint.
public const string AuthorizationEndpoint = "https://api.planningcenteronline.com/oauth/authorize"
Field Value
BaseUrl
The base URL for the Planning Center API.
public const string BaseUrl = "https://api.planningcenteronline.com"
Field Value
ConfigurationSection
The configuration section to use when configuring the OIDC client options.
public const string ConfigurationSection = "Authentication:PlanningCenter"
Field Value
DiscoveryEndpoint
The OIDC discovery endpoint (OpenID configuration).
public const string DiscoveryEndpoint = "https://api.planningcenteronline.com/.well-known/openid-configuration"
Field Value
DisplayName
The display name for the Planning Center authentication scheme.
public const string DisplayName = "Planning Center"
Field Value
IdTokenLifetimeSeconds
The ID token lifetime in seconds (1 hour).
public const int IdTokenLifetimeSeconds = 3600
Field Value
LoginPrompt
Alternative prompt value that forces users to log in again.
public const string LoginPrompt = "login"
Field Value
RecommendedPrompt
The recommended prompt value for OIDC authorization requests. Allows users to verify which account they will be signing in as and switch accounts.
public const string RecommendedPrompt = "select_account"
Field Value
RefreshTokenLifetimeDays
The refresh token lifetime in days (90 days).
public const int RefreshTokenLifetimeDays = 90
Field Value
TokenEndpoint
The OAuth 2.0 token endpoint.
public const string TokenEndpoint = "https://api.planningcenteronline.com/oauth/token"
Field Value
UserInfoEndpoint
The OIDC userinfo endpoint.
public const string UserInfoEndpoint = "https://api.planningcenteronline.com/oauth/userinfo"