• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • VpnSDK
      • AccountMetadataException
      • APIException
      • ApiTimeoutException
      • AuthenticationException
      • BaseSDKException
      • ConnectionAlreadyEstablishedException
      • ConnectionConfigurationBuilderBase
      • ConnectionException
      • ConnectionTerminatedException
      • CoreException
      • DataTransferEventArgs
      • DnsConfigurationException
      • DoubleHopException
      • DoubleHopNotAvailableException
      • EmptyAvailableVpnProtocolsException
      • EndpointsUnreachableException
      • FetchLocationsException
      • HTTPException
      • InvalidAccountException
      • InvalidConfigurationException
      • InvalidDoubleHopConfigurationException
      • InvalidServerException
      • NotAuthorizedException
      • NotElevatedException
      • NullLocationException
      • OAuthException
      • OpenVpnConnectionConfigurationBuilder
      • RasConnectionConfigurationBuilder
      • ReconnectOnPowerEventException
      • SDKBuilder<T>
      • SDKChangeEventHandler<T>
      • SDKEventHandler
      • SDKEventHandler<T>
      • SDKOperationEventHandler
      • SDKOperationEventHandler<T>
      • ServerListException
      • TapAdapterException
      • UnknownErrorException
      • UnsupportedProtocolException
      • VPNAuthenticationException
      • VpnException
      • VpnHostServiceException
      • VpnHostServiceFileNotFoundException
      • WFPException
      • WireGuardAPIException
      • WireGuardConnectionConfigurationBuilder
    • VpnSDK.Common.Dns
      • DnsResolutionResult
      • IDnsRequestResolver
    • VpnSDK.Common.Enums
      • SplitTunnelMode
    • VpnSDK.Common.Settings
      • SplitTunnelApp
      • SplitTunnelDomain
    • VpnSDK.DTO
      • ApiHttpError
      • ApiProxyError
      • ConnectionError
      • ISDKError
      • NetworkGeolocation
      • OpenVpnConfiguration
      • RasConfiguration
      • WireguardConfiguration
    • VpnSDK.Enums
      • AccountStatus
      • AuthenticationStatus
      • ConnectionStatus
      • DnsFilteringMode
      • DriverInstallResult
      • DriverUninstallResult
      • ErrorType
      • LoadLevel
      • NetworkConnectionType
      • NetworkProtocolType
      • OpenVpnCipherType
      • OpenVpnLogLevel
      • OperationStatus
      • RefreshLocationListStatus
    • VpnSDK.Extensions
      • ExceptionExtensions
      • LocationExtensions
      • RegionLoadChecker
    • VpnSDK.Helpers
      • BatchPingUtility
      • VersionHelper
      • VpnProtocolDiagnostics
    • VpnSDK.Interfaces
      • IBestAvailable
      • IConnectionConfiguration
      • IConnectionInfo
      • IDoubleHopConfiguration
      • ILocation
      • IOpenVpnConnectionConfiguration
      • IRasConnectionConfiguration
      • IRegion
      • ISDK
      • IUser
      • IWireGuardConnectionConfiguration

    Interface IUser

    Interface IUser. Provides an interface for API users/customers.

    Namespace: VpnSDK.Interfaces
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IUser : INotifyPropertyChanged

    Properties

    AccessToken

    Gets the access token.

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

    AccessTokenExpiry

    Gets the UTC time when the access token expires, or null if no access token is currently set.

    Declaration
    DateTime? AccessTokenExpiry { get; }
    Property Value
    Type Description
    System.Nullable<DateTime>

    EmailAddress

    Gets the email address provided by the API. This will be set to null if third-party authentication is used.

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

    The email address.

    IsValid

    Gets a value indicating whether returns true if the user object is valid.

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

    true if this instance is valid; otherwise, false.

    RefreshToken

    Gets the refresh token.

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

    Status

    Gets the current account status.

    Declaration
    AccountStatus Status { get; }
    Property Value
    Type Description
    AccountStatus

    The status.

    SubscriptionExpiry

    Gets the subscription expiry date if known.

    Declaration
    DateTime? SubscriptionExpiry { get; }
    Property Value
    Type Description
    System.Nullable<DateTime>

    The subscription expiry.

    VpnCredential

    Gets the VPN server credential.

    Declaration
    NetworkCredential VpnCredential { get; }
    Property Value
    Type Description
    NetworkCredential

    The VPN credential.

    In This Article
    Back to top VpnSDK v2 Documentation - © 2023 WLVPN