Skip to main content

JwtUtils

Assembly: ServiceStack.dll
View Source
Declaration
public static class JwtUtils

Methods

ToTokenCookiesHttpResult(IHasBearerToken, IRequest, String, DateTime, String, DateTime, String)

View Source
Declaration
public static HttpResult ToTokenCookiesHttpResult(this IHasBearerToken responseDto, IRequest req, string tokenCookie, DateTime expireTokenIn, string refreshTokenCookie, DateTime expireRefreshTokenIn, string referrerUrl)
Returns

ServiceStack.HttpResult

Parameters
TypeName
ServiceStack.IHasBearerTokenresponseDto
ServiceStack.Web.IRequestreq
System.StringtokenCookie
System.DateTimeexpireTokenIn
System.StringrefreshTokenCookie
System.DateTimeexpireRefreshTokenIn
System.StringreferrerUrl

NotifyJwtCookiesUsed(IHttpResult)

View Source
Declaration
public static void NotifyJwtCookiesUsed(IHttpResult httpResult)
Parameters
TypeName
ServiceStack.Web.IHttpResulthttpResult