Table of Contents

Interface ITokenFactory

Namespace
NetCord.Hosting
Assembly
NetCord.Hosting.dll

Represents a factory that creates IToken instances.

public interface ITokenFactory

Methods

CreateToken(string)

Creates a new IToken instance from the specified token string.

IToken CreateToken(string token)

Parameters

token string

The token string to create the IToken instance from.

Returns

IToken

A new IToken instance created from the specified token string.