Search Results for

    Show / Hide Table of Contents

    Class OAuthTokenRepository

    A repository to access OAuth tokens needed for newer exchange versions

    Inheritance
    System.Object
    OAuthTokenRepository
    Implements
    IOAuthTokenRepository
    IRepositoryBase<System.Guid, OAuthToken>
    Namespace: Simplic.Framework.Mailing
    Assembly: Simplic.Framework.dll
    Syntax
    public class OAuthTokenRepository : SqlRepositoryBase<Guid, OAuthToken>, IOAuthTokenRepository

    Constructors

    | Improve this Doc View Source

    OAuthTokenRepository(ISqlService, ISqlColumnService, ICacheService)

    Creates a new OAuth token rpository

    Declaration
    public OAuthTokenRepository(ISqlService sqlService, ISqlColumnService sqlColumnService, ICacheService cacheService)
    Parameters
    Type Name Description
    ISqlService sqlService
    ISqlColumnService sqlColumnService
    ICacheService cacheService

    Properties

    | Improve this Doc View Source

    PrimaryKeyColumn

    Declaration
    public override string PrimaryKeyColumn { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TableName

    Declaration
    public override string TableName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UseCache

    Declaration
    public override bool UseCache { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    GetByUserAndTenantId(Int32, Guid)

    Gets the token by the user ID and tenant ID

    Declaration
    public OAuthToken GetByUserAndTenantId(int userId, Guid tenantId)
    Parameters
    Type Name Description
    System.Int32 userId
    System.Guid tenantId
    Returns
    Type Description
    OAuthToken

    the token

    | Improve this Doc View Source

    GetId(OAuthToken)

    Declaration
    public override Guid GetId(OAuthToken obj)
    Parameters
    Type Name Description
    OAuthToken obj
    Returns
    Type Description
    System.Guid
    | Improve this Doc View Source

    GetIdByUserAndTenantId(Int32, Guid)

    Gets the id of the token by the user ID and tenant ID

    Declaration
    public Guid GetIdByUserAndTenantId(int userId, Guid tenantId)
    Parameters
    Type Name Description
    System.Int32 userId
    System.Guid tenantId
    Returns
    Type Description
    System.Guid

    the token

    Implements

    IOAuthTokenRepository
    IRepositoryBase<, >
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx