docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVivoxTokenProviderInternal

    Must be implemented by the RegisterTokenProvider(IVivoxTokenProviderInternal) caller. This object's responsibility is to provide an overridable implementation that will generate tokens for Vivox actions.

    Namespace: Unity.Services.Vivox.Internal
    Syntax
    public interface IVivoxTokenProviderInternal

    Methods

    GetTokenAsync(String, Nullable<TimeSpan>, String, String, String, String, String)

    This async method should implement the necesary steps to providing a valid Vivox token. After registration, this method will automatically be called whenever a token needs to be generated for a particular action. (e.g. login, channel join, mute) This token generation method will not be used if a developer provides their own IVivoxTokenProvider imeplemntation to the Vivox service. If the requested action is a login to the Vivox service we will use the UAS token for that instead of this method as well.

    Declaration
    Task<string> GetTokenAsync(string issuer = null, TimeSpan? expiration = null, string userUri = null, string action = null, string conferenceUri = null, string fromUserUri = null, string realm = null)
    Parameters
    Type Name Description
    String issuer
    Nullable<TimeSpan> expiration
    String userUri
    String action
    String conferenceUri
    String fromUserUri
    String realm
    Returns
    Type Description
    Task<String>

    A Vivox token string.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023