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
Parameters
Type | Name |
---|---|
ServiceStack.IHasBearerToken | responseDto |
ServiceStack.Web.IRequest | req |
System.String | tokenCookie |
System.DateTime | expireTokenIn |
System.String | refreshTokenCookie |
System.DateTime | expireRefreshTokenIn |
System.String | referrerUrl |
NotifyJwtCookiesUsed(IHttpResult)
View Source
Declaration
public static void NotifyJwtCookiesUsed(IHttpResult httpResult)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IHttpResult | httpResult |