Skip to main content

AuthTokenUtils

Assembly: ServiceStack.dll​
View Source​
Declaration
public static class AuthTokenUtils

Methods​

AddRoles(IAuthTokens, ICollection<String>)​

View Source​
Declaration
public static void AddRoles(this IAuthTokens authTokens, ICollection<string> roles)
Parameters​
TypeName
ServiceStack.Auth.IAuthTokensauthTokens
System.Collections.Generic.ICollection<System.String>roles

GetRoles(IAuthTokens)​

View Source​
Declaration
public static string[] GetRoles(this IAuthTokens authTokens)
Returns​

System.String[]

Parameters​
TypeName
ServiceStack.Auth.IAuthTokensauthTokens