UserService.GetByToken Method

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

GetByToken(string, bool, bool)

Gets the User with the specified token.

public static User GetByToken(string token, bool verify = true, bool filter = true)

Parameters

token
string

The token.

verify
bool

true to verify that the token is still valid, otherwise false.

filter
bool

Returns

User

Returns an instance of the User class.