TokenService.Get Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Get() Gets all Token objects from the repository for the current user.
Get(int) Gets a Token object from the repository.
Get(string) Gets a Token object from the repository for the current user and provider.

Get()

Gets all Token objects from the repository for the current user.

public static IEnumerable<Token> Get()

Returns

System.Collections.Generic.IEnumerable

Returns an instance of the Token class.

Get(int)

Gets a Token object from the repository.

public static Token Get(int id)

Parameters

id
int

Token ID (unique identifier).

Returns

Token

Returns an instance of the Comment class.

Get(string)

Gets a Token object from the repository for the current user and provider.

public static Token Get(string provider)

Parameters

provider
string

The provider to get tokens for.

Returns

Token

Returns an instance of the Token class.