TokenNotProvidedException
Namespace: SlottyMedia.Backend.Exceptions.auth
Exception to handle missing Access- and RefreshToken f.e. when handling Sessions
public class TokenNotProvidedException : SlottyMedia.LoggingProvider.BaseException`1[[SlottyMedia.Backend.Exceptions.auth.TokenNotProvidedException, SlottyMedia, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Runtime.Serialization.ISerializable
Inheritance Object → Exception → BaseException<TokenNotProvidedException> → TokenNotProvidedException
Implements ISerializable
Properties
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
TokenNotProvidedException(Boolean, Boolean)
Initializes a TokenNotProvidedException. It als implements an inner exception showing which token is missin
public TokenNotProvidedException(bool accessTokenProvided, bool refreshTokenProvided)
Parameters
accessTokenProvided Boolean
Boolean indicating the existence of an AccessToken
refreshTokenProvided Boolean
Boolean indicating the existence of a RefreshToken