Table of Contents

Class VideoTokenGenerator

Namespace
Vonage.Video.Authentication
Assembly
Vonage.dll

Represents a specific token generator for the Video Client.

public class VideoTokenGenerator : Jwt, ITokenGenerator, IVideoTokenGenerator
Inheritance
VideoTokenGenerator
Implements
Inherited Members

Methods

GenerateToken(Credentials, Result<TokenAdditionalClaims>)

Generates a token.

public Result<VideoToken> GenerateToken(Credentials credentials, Result<TokenAdditionalClaims> claims)

Parameters

credentials Credentials

The application credentials.

claims Result<TokenAdditionalClaims>

Additional claims for the token.

Returns

Result<VideoToken>

A success state with the token if the parsing succeeded. A failure state with an error if it failed.