logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SteamSignInTokenStoreTests

    EditMode tests for Serenity.Steam.Infrastructure.Editor.SteamSignInTokenStore: the store/get/clear round-trip through the editor session state (an in-memory fake, never the author's real one), surviving a domain reload, and the SECURITY CONTRACT that nothing this type can stringify ever leaks the raw refresh token.

    Inheritance
    object
    SteamSignInTokenStoreTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Steam.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class SteamSignInTokenStoreTests

    Constructors

    SteamSignInTokenStoreTests()

    Declaration
    public SteamSignInTokenStoreTests()

    Methods

    Clear_ErasesBothKeysFromMemoryAndTheSessionState()

    Declaration
    public void Clear_ErasesBothKeysFromMemoryAndTheSessionState()

    SetUp()

    Declaration
    public void SetUp()

    Store_MirrorsTheTokenUnderTheSteamModuleKeys()

    Declaration
    public void Store_MirrorsTheTokenUnderTheSteamModuleKeys()

    Store_ThenTryGet_RoundTripsTheTokenAndTheAccount()

    Declaration
    public void Store_ThenTryGet_RoundTripsTheTokenAndTheAccount()

    Store_WithANullAccountName_Throws()

    Declaration
    public void Store_WithANullAccountName_Throws()

    Store_WithAnEmptyToken_Throws(string)

    Declaration
    public void Store_WithAnEmptyToken_Throws(string emptyToken)
    Parameters
    Type Name Description
    string emptyToken

    ToString_NeverContainsTheRawToken()

    Declaration
    public void ToString_NeverContainsTheRawToken()

    ToString_WhenNothingIsStored_SaysThereIsNoToken()

    Declaration
    public void ToString_WhenNothingIsStored_SaysThereIsNoToken()

    TryGet_AfterInMemoryCopyIsGone_ReadsBackFromTheSessionState()

    Declaration
    public void TryGet_AfterInMemoryCopyIsGone_ReadsBackFromTheSessionState()

    TryGet_WhenNothingIsStored_ReportsNotFound()

    Declaration
    public void TryGet_WhenNothingIsStored_ReportsNotFound()
    In this article
    © 2026 Serenity. All Rights Reserved