Table of Contents

Class YouTubeConfig

Namespace
Nyra.Entities
Assembly
Nyra.dll

The runtime YouTube configuration of a NodeLink server, as the config route reports it.

public sealed record YouTubeConfig : IEquatable<YouTubeConfig>
Inheritance
YouTubeConfig
Implements
Inherited Members

Remarks

Tokens come back masked, the route never hands out the stored secrets.

Properties

IsConfigured

Whether a refresh token is currently configured.

[JsonPropertyName("isConfigured")]
[JsonInclude]
public bool IsConfigured { get; }

Property Value

bool

IsValid

Whether the configured token still validates, only reported when the read ran with validate, null otherwise.

[JsonPropertyName("isValid")]
[JsonInclude]
public bool? IsValid { get; }

Property Value

bool?

RefreshToken

The masked OAuth refresh token, null when none is configured.

[JsonPropertyName("refreshToken")]
[JsonInclude]
public string? RefreshToken { get; }

Property Value

string

VisitorData

The masked visitor data, null when none is configured.

[JsonPropertyName("visitorData")]
[JsonInclude]
public string? VisitorData { get; }

Property Value

string