Skip to main content

TemplateServiceStackFilters

Assembly: ServiceStack.dll
View Source
Declaration
[Obsolete("Use ServiceStackScripts")]
public class TemplateServiceStackFilters : ServiceStackScripts, IConfigureScriptContext

Inherited Properties

RemoveNewLinesFor

View Source
Declaration
public static List<string> RemoveNewLinesFor { get; }

Inherited Methods

assertPermission(ScriptScopeContext, String)

View Source
Declaration
public object assertPermission(ScriptScopeContext scope, string permission)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission

assertPermission(ScriptScopeContext, String, Dictionary<String, Object>)

View Source
Declaration
public object assertPermission(ScriptScopeContext scope, string permission, Dictionary<string, object> options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission
System.Collections.Generic.Dictionary<System.String,System.Object>options

assertRole(ScriptScopeContext, String)

View Source
Declaration
public object assertRole(ScriptScopeContext scope, string role)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole

assertRole(ScriptScopeContext, String, Dictionary<String, Object>)

View Source
Declaration
public object assertRole(ScriptScopeContext scope, string role, Dictionary<string, object> options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole
System.Collections.Generic.Dictionary<System.String,System.Object>options

authRepo(ScriptScopeContext)

View Source
Declaration
public IAuthRepository authRepo(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthRepository

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

baseUrl(ScriptScopeContext)

View Source
Declaration
public object baseUrl(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

bundleCss(Object)

View Source
Declaration
public IRawString bundleCss(object virtualPaths)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths

bundleCss(Object, Object)

View Source
Declaration
public IRawString bundleCss(object virtualPaths, object options)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths
System.Objectoptions

bundleHtml(Object)

View Source
Declaration
public IRawString bundleHtml(object virtualPaths)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths

bundleHtml(Object, Object)

View Source
Declaration
public IRawString bundleHtml(object virtualPaths, object options)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths
System.Objectoptions

bundleJs(Object)

View Source
Declaration
public IRawString bundleJs(object virtualPaths)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths

bundleJs(Object, Object)

View Source
Declaration
public IRawString bundleJs(object virtualPaths, object options)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.ObjectvirtualPaths
System.Objectoptions

Configure(ScriptContext)

View Source
Declaration
public void Configure(ScriptContext context)
Parameters
TypeName
ServiceStack.Script.ScriptContextcontext

createUserAuth(IAuthRepository, IUserAuth, String)

View Source
Declaration
public IUserAuth createUserAuth(IAuthRepository authRepo, IUserAuth newUser, string password)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthnewUser
System.Stringpassword

deleteUserAuth(IAuthRepository, String)

View Source
Declaration
public IgnoreResult deleteUserAuth(IAuthRepository authRepo, string userAuthId)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserAuthId

endIfAuthenticated(ScriptScopeContext, Object)

View Source
Declaration
public object endIfAuthenticated(ScriptScopeContext scope, object value)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectvalue

errorResponse(ScriptScopeContext)

View Source
Declaration
public string errorResponse(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

errorResponse(ScriptScopeContext, ResponseStatus, String)

View Source
Declaration
public string errorResponse(ScriptScopeContext scope, ResponseStatus errorStatus, string fieldName)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.ResponseStatuserrorStatus
System.StringfieldName

errorResponse(ScriptScopeContext, String)

View Source
Declaration
public string errorResponse(ScriptScopeContext scope, string fieldName)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringfieldName

errorResponseExcept(ScriptScopeContext, ResponseStatus, IEnumerable)

View Source
Declaration
public string errorResponseExcept(ScriptScopeContext scope, ResponseStatus errorStatus, IEnumerable fields)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.ResponseStatuserrorStatus
System.Collections.IEnumerablefields

errorResponseExcept(ScriptScopeContext, IEnumerable)

View Source
Declaration
public string errorResponseExcept(ScriptScopeContext scope, IEnumerable fields)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Collections.IEnumerablefields

errorResponseSummary(ScriptScopeContext)

View Source
Declaration
public string errorResponseSummary(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

errorResponseSummary(ScriptScopeContext, ResponseStatus)

View Source
Declaration
public string errorResponseSummary(ScriptScopeContext scope, ResponseStatus errorStatus)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.ResponseStatuserrorStatus

execService(ScriptScopeContext, String)

View Source
Declaration
public object execService(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

execService(ScriptScopeContext, String, Object)

View Source
Declaration
public object execService(ScriptScopeContext scope, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Objectoptions

formCheckValue(ScriptScopeContext, String)

View Source
Declaration
public bool formCheckValue(ScriptScopeContext scope, string name)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname

formValue(ScriptScopeContext, String)

Only return form input value if form submission was invalid

View Source
Declaration
public string formValue(ScriptScopeContext scope, string name)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname

formValue(ScriptScopeContext, String, String)

View Source
Declaration
public string formValue(ScriptScopeContext scope, string name, string defaultValue)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname
System.StringdefaultValue

formValues(ScriptScopeContext, String)

View Source
Declaration
public string[] formValues(ScriptScopeContext scope, string name)
Returns

System.String[]

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringname

getErrorStatus(ScriptScopeContext)

View Source
Declaration
public ResponseStatus getErrorStatus(ScriptScopeContext scope)
Returns

ServiceStack.ResponseStatus

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

getHttpResult(ScriptScopeContext, Object)

View Source
Declaration
public IHttpResult getHttpResult(ScriptScopeContext scope, object options)
Returns

ServiceStack.Web.IHttpResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectoptions

getUserAuth(IAuthRepository, String)

View Source
Declaration
public IUserAuth getUserAuth(IAuthRepository authRepo, string userAuthId)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserAuthId

getUserAuthByUserName(IAuthRepository, String)

View Source
Declaration
public IUserAuth getUserAuthByUserName(IAuthRepository authRepo, string userNameOrEmail)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserNameOrEmail

getUserAuths(IAuthRepository)

View Source
Declaration
public List<IUserAuth> getUserAuths(IAuthRepository authRepo)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

getUserAuths(IAuthRepository, Dictionary<String, Object>)

View Source
Declaration
public List<IUserAuth> getUserAuths(IAuthRepository authRepo, Dictionary<string, object> options)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.Collections.Generic.Dictionary<System.String,System.Object>options

getUserSession(ScriptScopeContext)

View Source
Declaration
public object getUserSession(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

hasErrorStatus(ScriptScopeContext)

View Source
Declaration
public bool hasErrorStatus(ScriptScopeContext scope)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

hasPermission(ScriptScopeContext, String)

View Source
Declaration
public object hasPermission(ScriptScopeContext scope, string permission)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpermission

hasRole(ScriptScopeContext, String)

View Source
Declaration
public object hasRole(ScriptScopeContext scope, string role)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringrole

hostVfsFileSystem()

View Source
Declaration
public FileSystemVirtualFiles hostVfsFileSystem()
Returns

ServiceStack.IO.FileSystemVirtualFiles

hostVfsGist()

View Source
Declaration
public GistVirtualFiles hostVfsGist()
Returns

ServiceStack.IO.GistVirtualFiles

hostVfsMemory()

View Source
Declaration
public MemoryVirtualFiles hostVfsMemory()
Returns

ServiceStack.IO.MemoryVirtualFiles

httpRequest(ScriptScopeContext)

View Source
Declaration
public IHttpRequest httpRequest(ScriptScopeContext scope)
Returns

ServiceStack.Web.IHttpRequest

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

httpResult(ScriptScopeContext, Object)

View Source
Declaration
public HttpResult httpResult(ScriptScopeContext scope, object options)
Returns

ServiceStack.HttpResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectoptions

ifAuthenticated(ScriptScopeContext)

View Source
Declaration
public object ifAuthenticated(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

ifNotAuthenticated(ScriptScopeContext)

View Source
Declaration
public object ifNotAuthenticated(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

isAuthenticated(ScriptScopeContext)

View Source
Declaration
public bool isAuthenticated(ScriptScopeContext scope)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

isAuthenticated(ScriptScopeContext, String)

View Source
Declaration
public bool isAuthenticated(ScriptScopeContext scope, string provider)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringprovider

newUserAuth(IAuthRepository)

View Source
Declaration
public IUserAuth newUserAuth(IAuthRepository authRepo)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

newUserAuthDetails(IAuthRepository)

View Source
Declaration
public IUserAuthDetails newUserAuthDetails(IAuthRepository authRepo)
Returns

ServiceStack.Auth.IUserAuthDetails

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

onlyIfAuthenticated(ScriptScopeContext, Object)

View Source
Declaration
public object onlyIfAuthenticated(ScriptScopeContext scope, object value)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectvalue

publishMessage(ScriptScopeContext, String, Object)

View Source
Declaration
public IgnoreResult publishMessage(ScriptScopeContext scope, string requestName, object dto)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Objectdto

publishMessage(ScriptScopeContext, String, Object, Object)

View Source
Declaration
public IgnoreResult publishMessage(ScriptScopeContext scope, string requestName, object dto, object options)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Objectdto
System.Objectoptions

publishToGateway(ScriptScopeContext, Object, String)

View Source
Declaration
public object publishToGateway(ScriptScopeContext scope, object dto, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName

publishToGateway(ScriptScopeContext, Object, String, Object)

View Source
Declaration
public object publishToGateway(ScriptScopeContext scope, object dto, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName
System.Objectoptions

publishToGateway(ScriptScopeContext, String)

View Source
Declaration
public object publishToGateway(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

redirectIfNotAuthenticated(ScriptScopeContext)

View Source
Declaration
public object redirectIfNotAuthenticated(ScriptScopeContext scope)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

redirectIfNotAuthenticated(ScriptScopeContext, String)

View Source
Declaration
public object redirectIfNotAuthenticated(ScriptScopeContext scope, string path)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpath

redirectTo(ScriptScopeContext, String)

View Source
Declaration
public object redirectTo(ScriptScopeContext scope, string path)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringpath

requestItem(ScriptScopeContext, String)

View Source
Declaration
public object requestItem(ScriptScopeContext scope, string key)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Stringkey

resolveUrl(ScriptScopeContext, String)

View Source
Declaration
public object resolveUrl(ScriptScopeContext scope, string virtualPath)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringvirtualPath

saveUserAuth(IAuthRepository, IUserAuth)

View Source
Declaration
public IgnoreResult saveUserAuth(IAuthRepository authRepo, IUserAuth userAuth)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthuserAuth

searchUserAuths(IAuthRepository, Dictionary<String, Object>)

View Source
Declaration
public List<IUserAuth> searchUserAuths(IAuthRepository authRepo, Dictionary<string, object> options)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
System.Collections.Generic.Dictionary<System.String,System.Object>options

sendToAutoQuery(ScriptScopeContext, Object, String)

View Source
Declaration
public object sendToAutoQuery(ScriptScopeContext scope, object dto, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName

sendToAutoQuery(ScriptScopeContext, Object, String, Object)

View Source
Declaration
public object sendToAutoQuery(ScriptScopeContext scope, object dto, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName
System.Objectoptions

sendToAutoQuery(ScriptScopeContext, String)

View Source
Declaration
public object sendToAutoQuery(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

sendToGateway(ScriptScopeContext, Object, String)

View Source
Declaration
public object sendToGateway(ScriptScopeContext scope, object dto, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName

sendToGateway(ScriptScopeContext, Object, String, Object)

View Source
Declaration
public object sendToGateway(ScriptScopeContext scope, object dto, string requestName, object options)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.Objectdto
System.StringrequestName
System.Objectoptions

sendToGateway(ScriptScopeContext, String)

View Source
Declaration
public object sendToGateway(ScriptScopeContext scope, string requestName)
Returns

System.Object

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

serviceStackLogoDataUri()

View Source
Declaration
public IRawString serviceStackLogoDataUri()
Returns

ServiceStack.IRawString

serviceStackLogoDataUri(String)

View Source
Declaration
public IRawString serviceStackLogoDataUri(string color)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringcolor

serviceStackLogoDataUriLight()

View Source
Declaration
public IRawString serviceStackLogoDataUriLight()
Returns

ServiceStack.IRawString

serviceStackLogoSvg()

View Source
Declaration
public IRawString serviceStackLogoSvg()
Returns

ServiceStack.IRawString

serviceStackLogoSvg(String)

View Source
Declaration
public IRawString serviceStackLogoSvg(string color)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringcolor

serviceUrl(ScriptScopeContext, String)

View Source
Declaration
public string serviceUrl(ScriptScopeContext scope, string requestName)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName

serviceUrl(ScriptScopeContext, String, Dictionary<String, Object>)

View Source
Declaration
public string serviceUrl(ScriptScopeContext scope, string requestName, Dictionary<string, object> properties)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Collections.Generic.Dictionary<System.String,System.Object>properties

serviceUrl(ScriptScopeContext, String, Dictionary<String, Object>, String)

View Source
Declaration
public string serviceUrl(ScriptScopeContext scope, string requestName, Dictionary<string, object> properties, string httpMethod)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringrequestName
System.Collections.Generic.Dictionary<System.String,System.Object>properties
System.StringhttpMethod

sessionIfAuthenticated(ScriptScopeContext)

View Source
Declaration
public IAuthSession sessionIfAuthenticated(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthSession

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

svgAdd(String, String)

View Source
Declaration
public IgnoreResult svgAdd(string svg, string name)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
System.Stringsvg
System.Stringname

svgAdd(String, String, String)

View Source
Declaration
public IgnoreResult svgAdd(string svg, string name, string cssFile)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
System.Stringsvg
System.Stringname
System.StringcssFile

svgAddFile(ScriptScopeContext, String, String)

View Source
Declaration
public IgnoreResult svgAddFile(ScriptScopeContext scope, string svgPath, string name)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringsvgPath
System.Stringname

svgAddFile(ScriptScopeContext, String, String, String)

View Source
Declaration
public IgnoreResult svgAddFile(ScriptScopeContext scope, string svgPath, string name, string cssFile)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
System.StringsvgPath
System.Stringname
System.StringcssFile

svgBackgroundImageCss(String)

View Source
Declaration
public IRawString svgBackgroundImageCss(string name)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname

svgBackgroundImageCss(String, String)

View Source
Declaration
public IRawString svgBackgroundImageCss(string name, string fillColor)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname
System.StringfillColor

svgBaseUrl(ScriptScopeContext)

View Source
Declaration
public string svgBaseUrl(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

svgCssFiles()

View Source
Declaration
public Dictionary<string, List<string>> svgCssFiles()
Returns

System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>

svgDataUri(String)

View Source
Declaration
public IRawString svgDataUri(string name)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname

svgDataUri(String, String)

View Source
Declaration
public IRawString svgDataUri(string name, string fillColor)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname
System.StringfillColor

svgDataUris()

View Source
Declaration
public Dictionary<string, string> svgDataUris()
Returns

System.Collections.Generic.Dictionary<System.String,System.String>

svgFill(String, String)

View Source
Declaration
public IRawString svgFill(string svg, string color)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringsvg
System.Stringcolor

svgImage(String)

View Source
Declaration
public IRawString svgImage(string name)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname

svgImage(String, String)

View Source
Declaration
public IRawString svgImage(string name, string fillColor)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringname
System.StringfillColor

svgImages()

View Source
Declaration
public Dictionary<string, string> svgImages()
Returns

System.Collections.Generic.Dictionary<System.String,System.String>

svgInBackgroundImageCss(String)

View Source
Declaration
public IRawString svgInBackgroundImageCss(string svg)
Returns

ServiceStack.IRawString

Parameters
TypeName
System.Stringsvg

ToHttpResult(Dictionary<String, Object>)

View Source
Declaration
public static HttpResult ToHttpResult(Dictionary<string, object> args)
Returns

ServiceStack.HttpResult

Parameters
TypeName
System.Collections.Generic.Dictionary<System.String,System.Object>args

toResults(Object)

View Source
Declaration
public object toResults(object dto)
Returns

System.Object

Parameters
TypeName
System.Objectdto

tryAuthenticate(ScriptScopeContext, IAuthRepository, String, String)

View Source
Declaration
public IUserAuth tryAuthenticate(ScriptScopeContext scope, IAuthRepository authRepo, string userName, string password)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.Auth.IAuthRepositoryauthRepo
System.StringuserName
System.Stringpassword

updateUserAuth(IAuthRepository, IUserAuth, IUserAuth)

View Source
Declaration
public IUserAuth updateUserAuth(IAuthRepository authRepo, IUserAuth existingUser, IUserAuth newUser)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthexistingUser
ServiceStack.Auth.IUserAuthnewUser

updateUserAuth(IAuthRepository, IUserAuth, IUserAuth, String)

View Source
Declaration
public IgnoreResult updateUserAuth(IAuthRepository authRepo, IUserAuth existingUser, IUserAuth newUser, string password)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo
ServiceStack.Auth.IUserAuthexistingUser
ServiceStack.Auth.IUserAuthnewUser
System.Stringpassword

userAttributes(ScriptScopeContext)

View Source
Declaration
public HashSet<string> userAttributes(ScriptScopeContext scope)
Returns

System.Collections.Generic.HashSet<System.String>

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userAuthId(ScriptScopeContext)

View Source
Declaration
public string userAuthId(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userAuthName(ScriptScopeContext)

View Source
Declaration
public string userAuthName(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userProfileUrl(ScriptScopeContext)

View Source
Declaration
public string userProfileUrl(ScriptScopeContext scope)
Returns

System.String

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

userSession(ScriptScopeContext)

View Source
Declaration
public IAuthSession userSession(ScriptScopeContext scope)
Returns

ServiceStack.Auth.IAuthSession

Parameters
TypeName
ServiceStack.Script.ScriptScopeContextscope

vfsContent()

View Source
Declaration
public IVirtualFiles vfsContent()
Returns

ServiceStack.IO.IVirtualFiles

Implements