API for customizing AngularDart's built-in security checks.

Import this library as follows:

import 'package:angular/security.dart';

For examples of using this API, see the Security page in the AngularDart guide.

Classes

DomSanitizationService
DomSanitizationService helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing values to be safe to use in the different DOM contexts. [...]
SafeHtml
SafeHtmlImpl
SafeInnerHtmlDirective
Sets Element.innerHtml without sanitizing the HTML output. [...]
SafeResourceUrl
SafeResourceUrlImpl
SafeScript
SafeScriptImpl
SafeStyle
SafeStyleImpl
SafeUrl
SafeUrlImpl
SafeValue
SafeValueImpl
SanitizationService
SanitizationService is used by the views to sanitize values as create SafeValue equivalents that can be used to bind to in templates.

Enums

TemplateSecurityContext
A TemplateSecurityContext specifies a category of security vulnerabilities if the content is not sanitized. [...]