TokenService Class

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

Service layer for Token objects.

public static class TokenService
Inheritance:
System.Object → TokenService

Methods

AddOrUpdate(Token) Adds a new Token object if not exists, otherwise updates it.
Clear(string) Clear all tokens for the current user and provider
Delete(int) Permanently deletes a Token object from the repository.
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.
Insert(Token) Inserts a Token object into the repository.
Update(Token) Updates a Token object.