MonoCloud Authentication SDK
    Preparing search index...
    • Decrypts an encrypted AuthState.

      Type Parameters

      Parameters

      • encryptedAuthState: string

        The encrypted auth state string to decrypt.

      • secret: string

        The secret used for decryption.

      Returns Promise<T>

      State object on success.

      If decryption fails or the auth state has expired.