Interface IPlanningCenterTokenProvider
- Namespace
- Crews.PlanningCenter.Api.Authentication
- Assembly
- Crews.PlanningCenter.Api.dll
Provides a Planning Center API access token for use in environments where IHttpContextAccessor cannot supply one (e.g. Blazor Interactive Server after the SSR prerender pass).
public interface IPlanningCenterTokenProvider
Methods
GetAccessTokenAsync()
Returns the current access token, or null if unavailable.
Task<string?> GetAccessTokenAsync()