docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IJwtDecoder

    An interface to decode a JwtToken from a string.

    Namespace: Unity.Cloud.Identity
    Assembly: Unity.Cloud.Identity.dll
    Syntax
    public interface IJwtDecoder

    Methods

    Decode(string)

    A function to decode a JwtToken from a string.

    Declaration
    JwtToken Decode(string jwtToken)
    Parameters
    Type Name Description
    string jwtToken

    The JWT token string to decode.

    Returns
    Type Description
    JwtToken

    The decoded JwtToken.

    Exceptions
    Type Condition
    InvalidCredentialException

    Thrown if the string does not match expected JWT format.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)