logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ISteamPartnerTokenMinter

    Turns a Steam refresh token into the cookies the partner site's achievement editor accepts.

    Namespace: Serenity.Steam.Application.SignIn
    Assembly: Serenity.Steam.Application.dll
    Syntax
    public interface ISteamPartnerTokenMinter

    Methods

    MintAsync(string, CancellationToken)

    Exchanges refreshToken for a partner-site session. Never throws for a Steam-side problem: every outcome, a dead token and an unreachable service included, comes back as a SteamPartnerMintResult.

    Declaration
    Task<SteamPartnerMintResult> MintAsync(string refreshToken, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    string refreshToken

    The refresh token the QR sign-in produced.

    CancellationToken cancellationToken

    Cancels the exchange; a cancellation the caller asked for does throw.

    Returns
    Type Description
    Task<SteamPartnerMintResult>
    In this article
    © 2026 Serenity. All Rights Reserved