Table of Contents

Class ProviderCredentialRefreshStatus

Namespace
Openshell.V1
Assembly
OpenShell.Sdk.dll
public sealed class ProviderCredentialRefreshStatus : IMessage<ProviderCredentialRefreshStatus>, IEquatable<ProviderCredentialRefreshStatus>, IDeepCloneable<ProviderCredentialRefreshStatus>, IBufferMessage, IMessage
Inheritance
ProviderCredentialRefreshStatus
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

ProviderCredentialRefreshStatus()

public ProviderCredentialRefreshStatus()

ProviderCredentialRefreshStatus(ProviderCredentialRefreshStatus)

public ProviderCredentialRefreshStatus(ProviderCredentialRefreshStatus other)

Parameters

other ProviderCredentialRefreshStatus

Fields

CredentialKeyFieldNumber

Field number for the "credential_key" field.

public const int CredentialKeyFieldNumber = 3

Field Value

int

ExpirationTimeFieldNumber

Field number for the "expiration_time" field.

public const int ExpirationTimeFieldNumber = 106

Field Value

int

FailureCodeFieldNumber

Field number for the "failure_code" field.

public const int FailureCodeFieldNumber = 11

Field Value

int

LastErrorFieldNumber

Field number for the "last_error" field.

public const int LastErrorFieldNumber = 9

Field Value

int

LastErrorTimeFieldNumber

Field number for the "last_error_time" field.

public const int LastErrorTimeFieldNumber = 113

Field Value

int

LastRefreshTimeFieldNumber

Field number for the "last_refresh_time" field.

public const int LastRefreshTimeFieldNumber = 108

Field Value

int

NextRefreshTimeFieldNumber

Field number for the "next_refresh_time" field.

public const int NextRefreshTimeFieldNumber = 107

Field Value

int

ProviderErrorSubtypeFieldNumber

Field number for the "provider_error_subtype" field.

public const int ProviderErrorSubtypeFieldNumber = 12

Field Value

int

ProviderFieldNumber

Field number for the "provider" field.

public const int ProviderFieldNumber = 1

Field Value

int

ProviderIdFieldNumber

Field number for the "provider_id" field.

public const int ProviderIdFieldNumber = 2

Field Value

int

RecoveryActionFieldNumber

Field number for the "recovery_action" field.

public const int RecoveryActionFieldNumber = 10

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 5

Field Value

int

StrategyFieldNumber

Field number for the "strategy" field.

public const int StrategyFieldNumber = 4

Field Value

int

Properties

CredentialKey

public string CredentialKey { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ExpirationTime

public Timestamp ExpirationTime { get; set; }

Property Value

Timestamp

FailureCode

Stable gateway-owned failure identifier, for example "oauth_invalid_grant". This is not provider-controlled prose and incorporates any recognized top-level OAuth error classification.

public string FailureCode { get; set; }

Property Value

string

LastError

public string LastError { get; set; }

Property Value

string

LastErrorTime

public Timestamp LastErrorTime { get; set; }

Property Value

Timestamp

LastRefreshTime

public Timestamp LastRefreshTime { get; set; }

Property Value

Timestamp

NextRefreshTime

Next automatic refresh time. Absence means no automatic retry is scheduled; use recovery_action to determine the required recovery workflow.

public Timestamp NextRefreshTime { get; set; }

Property Value

Timestamp

Parser

public static MessageParser<ProviderCredentialRefreshStatus> Parser { get; }

Property Value

MessageParser<ProviderCredentialRefreshStatus>

Provider

public string Provider { get; set; }

Property Value

string

ProviderErrorSubtype

A bounded, recognized provider subtype that refines failure_code; clients do not need a separate provider_error field. Unknown provider-controlled values are not persisted or returned.

public string ProviderErrorSubtype { get; set; }

Property Value

string

ProviderId

public string ProviderId { get; set; }

Property Value

string

RecoveryAction

public ProviderCredentialRefreshRecoveryAction RecoveryAction { get; set; }

Property Value

ProviderCredentialRefreshRecoveryAction

Status

public string Status { get; set; }

Property Value

string

Strategy

public ProviderCredentialRefreshStrategy Strategy { get; set; }

Property Value

ProviderCredentialRefreshStrategy

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public ProviderCredentialRefreshStatus Clone()

Returns

ProviderCredentialRefreshStatus

A deep clone of this object.

Equals(ProviderCredentialRefreshStatus)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ProviderCredentialRefreshStatus other)

Parameters

other ProviderCredentialRefreshStatus

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(ProviderCredentialRefreshStatus)

Merges the given message into this one.

public void MergeFrom(ProviderCredentialRefreshStatus other)

Parameters

other ProviderCredentialRefreshStatus

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.