Search Results for

    Show / Hide Table of Contents

    Class AuthService.AppUser

    Inheritance
    System.Object
    AuthService.AppUser
    Namespace: FastReport.Auth
    Assembly: FastReport.dll
    Syntax
    public class AppUser

    Properties

    ApiKey

    User's api key.

    Declaration
    public string ApiKey { get; set; }
    Property Value
    Type Description
    System.String

    Avatar

    Avatar of the user, by default is 150x150 picture.

    Declaration
    public Image Avatar { get; set; }
    Property Value
    Type Description
    System.Drawing.Image

    DisplayAvatar

    Returns the display avatar of the user, cannot return null

    Declaration
    public Image DisplayAvatar { get; }
    Property Value
    Type Description
    System.Drawing.Image

    DisplayEmail

    Returns the display email of the user, cannot return null

    Declaration
    public string DisplayEmail { get; }
    Property Value
    Type Description
    System.String

    DisplayName

    Returns the display name of the user, cannot return null

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    System.String

    Email

    Email of the user.

    Declaration
    public string Email { get; set; }
    Property Value
    Type Description
    System.String

    ExpiresIn

    Local time when the token will go out.

    Declaration
    public DateTime ExpiresIn { get; set; }
    Property Value
    Type Description
    System.DateTime

    FullName

    Full name of the user.

    Declaration
    public string FullName { get; set; }
    Property Value
    Type Description
    System.String

    IsAuthenticated

    Returns true if user is authenticated.

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

    IsExpired

    Returns true if token is expired and is need to referesh

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

    IsValid

    Indicates that token is check by external method, see for details.

    Declaration
    public bool IsValid { get; set; }
    Property Value
    Type Description
    System.Boolean

    Scopes

    List of allowed scopes.

    Declaration
    public string[] Scopes { get; set; }
    Property Value
    Type Description
    System.String[]

    Subject

    Identifier of the user.

    Declaration
    public string Subject { get; set; }
    Property Value
    Type Description
    System.String

    TokenType

    Type of token for resource request header, e.g. Bearer.

    Declaration
    public string TokenType { get; set; }
    Property Value
    Type Description
    System.String

    Username

    Preferred username of the user.

    Declaration
    public string Username { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Reset()

    Reset the values

    Declaration
    public void Reset()
    Back to top © 1998-2025 Copyright Fast Reports Inc.