Class DeviceBoundSession
A device bound session.
public sealed record DeviceBoundSession : IEquatable<DeviceBoundSession>
- Inheritance
-
DeviceBoundSession
- Implements
- Inherited Members
Constructors
DeviceBoundSession(DeviceBoundSessionKey, string, DeviceBoundSessionInclusionRules, ImmutableArray<DeviceBoundSessionCookieCraving>, TimeSinceEpoch, ImmutableArray<string>)
A device bound session.
public DeviceBoundSession(DeviceBoundSessionKey Key, string RefreshUrl, DeviceBoundSessionInclusionRules InclusionRules, ImmutableArray<DeviceBoundSessionCookieCraving> CookieCravings, TimeSinceEpoch ExpiryDate, ImmutableArray<string> AllowedRefreshInitiators)
Parameters
KeyDeviceBoundSessionKeyThe site and session ID of the session.
RefreshUrlstringSee comments on net::device_bound_sessions::Session::refresh_url_.
InclusionRulesDeviceBoundSessionInclusionRulesSee comments on net::device_bound_sessions::Session::inclusion_rules_.
CookieCravingsImmutableArray<DeviceBoundSessionCookieCraving>See comments on net::device_bound_sessions::Session::cookie_cravings_.
ExpiryDateTimeSinceEpochSee comments on net::device_bound_sessions::Session::expiry_date_.
AllowedRefreshInitiatorsImmutableArray<string>See comments on net::device_bound_sessions::Session::allowed_refresh_initiators_.
Properties
AllowedRefreshInitiators
See comments on net::device_bound_sessions::Session::allowed_refresh_initiators_.
public ImmutableArray<string> AllowedRefreshInitiators { get; init; }
Property Value
CachedChallenge
See comments on net::device_bound_sessions::Session::cached_challenge__.
public string? CachedChallenge { get; init; }
Property Value
CookieCravings
See comments on net::device_bound_sessions::Session::cookie_cravings_.
public ImmutableArray<DeviceBoundSessionCookieCraving> CookieCravings { get; init; }
Property Value
ExpiryDate
See comments on net::device_bound_sessions::Session::expiry_date_.
public TimeSinceEpoch ExpiryDate { get; init; }
Property Value
InclusionRules
See comments on net::device_bound_sessions::Session::inclusion_rules_.
public DeviceBoundSessionInclusionRules InclusionRules { get; init; }
Property Value
Key
The site and session ID of the session.
public DeviceBoundSessionKey Key { get; init; }
Property Value
RefreshUrl
See comments on net::device_bound_sessions::Session::refresh_url_.
public string RefreshUrl { get; init; }