Struct PlanningCenterPersonalAccessToken
- Namespace
- Crews.PlanningCenter.Api.Authentication
- Assembly
- Crews.PlanningCenter.Api.dll
Represents a developer personal access token for the Planning Center API.
public readonly struct PlanningCenterPersonalAccessToken : IEquatable<PlanningCenterPersonalAccessToken>
- Implements
- Inherited Members
Properties
AppId
The App ID component of the personal access token.
public required string AppId { get; init; }
Property Value
Secret
The Secret component of the personal access token.
public required string Secret { get; init; }
Property Value
Methods
Equals(PlanningCenterPersonalAccessToken)
public bool Equals(PlanningCenterPersonalAccessToken other)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(PlanningCenterPersonalAccessToken, PlanningCenterPersonalAccessToken)
public static bool operator ==(PlanningCenterPersonalAccessToken left, PlanningCenterPersonalAccessToken right)
Parameters
Returns
implicit operator AuthenticationHeaderValue(PlanningCenterPersonalAccessToken)
Implicitly converts the current PlanningCenterPersonalAccessToken instance to an AuthenticationHeaderValue instance.
public static implicit operator AuthenticationHeaderValue(PlanningCenterPersonalAccessToken token)
Parameters
tokenPlanningCenterPersonalAccessTokenThe current instance.
Returns
operator !=(PlanningCenterPersonalAccessToken, PlanningCenterPersonalAccessToken)
public static bool operator !=(PlanningCenterPersonalAccessToken left, PlanningCenterPersonalAccessToken right)