Class SourceOAuthAuthorization
- Namespace
- Cratis.Chronicle.Concepts.Captures
- Assembly
- Cratis.Chronicle.dll
Represents OAuth authentication for a capture source.
public record SourceOAuthAuthorization : IEquatable<SourceOAuthAuthorization>
- Inheritance
-
SourceOAuthAuthorization
- Implements
- Inherited Members
- Extension Methods
Constructors
SourceOAuthAuthorization(SourceOAuthAuthorization)
protected SourceOAuthAuthorization(SourceOAuthAuthorization original)
Parameters
originalSourceOAuthAuthorization
SourceOAuthAuthorization(string, string, string)
Represents OAuth authentication for a capture source.
public SourceOAuthAuthorization(string Authority, string ClientId, string ClientSecret)
Parameters
AuthoritystringThe OAuth authority.
ClientIdstringThe OAuth client ID.
ClientSecretstringThe OAuth client secret.
Properties
Authority
The OAuth authority.
public string Authority { get; init; }
Property Value
ClientId
The OAuth client ID.
public string ClientId { get; init; }
Property Value
ClientSecret
The OAuth client secret.
public string ClientSecret { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string, out string, out string)
public void Deconstruct(out string Authority, out string ClientId, out string ClientSecret)
Parameters
Equals(SourceOAuthAuthorization?)
public virtual bool Equals(SourceOAuthAuthorization? other)
Parameters
otherSourceOAuthAuthorization
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SourceOAuthAuthorization?, SourceOAuthAuthorization?)
public static bool operator ==(SourceOAuthAuthorization? left, SourceOAuthAuthorization? right)
Parameters
leftSourceOAuthAuthorizationrightSourceOAuthAuthorization
Returns
operator !=(SourceOAuthAuthorization?, SourceOAuthAuthorization?)
public static bool operator !=(SourceOAuthAuthorization? left, SourceOAuthAuthorization? right)
Parameters
leftSourceOAuthAuthorizationrightSourceOAuthAuthorization