A platform combines multiple tutorials, projects, documentations, questions and answers for developers
  • Home (current)
  • Documentations
  • About
  • Login
  1. Home
  2. Documentations
  3. Angular 4
  4. XSRFStrategy

XSRFStrategy

class

npm Package @angular/http
Module import { XSRFStrategy } from '@angular/http';
Source http/src/interfaces.ts

Overview

class XSRFStrategy {
  configureRequest(req: Request): void
}

Description

An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.

Subclasses

  • CookieXSRFStrategy

Members

configureRequest(req: Request): void

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/http/XSRFStrategy

Guide
Ahead-of-Time Compilation
Anatomy of the Setup Project
Angular Glossary
Angular Metadata and AOT
AngularJS to Angular Quick Reference
Animations
Architecture Overview
Attribute Directives
Authors Style Guide
Bootstrapping
Browser support
Change Log
Cheat Sheet
Component Interaction
Component Styles
Dependency Injection
Dependency Injection
Deployment
Displaying Data
Dynamic Component Loader
Dynamic Forms
Form Validation
Forms
Hierarchical Dependency Injectors
HttpClient
Internationalization (i18n)
Lifecycle Hooks
NgModule FAQs
NgModules
Npm Packages
Pipes
QuickStart
Reactive Forms
Routing & Navigation
Security
Setup for local development
Structural Directives
Style Guide
Template Syntax
Testing
TypeScript Configuration
Upgrading from AngularJS
User Input
Visual Studio 2015 QuickStart
Webpack: An Introduction
Tutorial
1. The Hero Editor
2. Master/Detail
3. Multiple Components
4. Services
5. Routing
6. HTTP
Tutorial: Tour of Heroes
forms
AbstractControl
AbstractControlDirective
AbstractFormGroupDirective
AsyncValidator
AsyncValidatorFn
COMPOSITION_BUFFER_MODE
CheckboxControlValueAccessor
CheckboxRequiredValidator
ControlContainer
ControlValueAccessor
DefaultValueAccessor
EmailValidator
Form
FormArray
FormArrayName
FormBuilder
FormControl
FormControlDirective
FormControlName
FormGroup
FormGroupDirective
FormGroupName
FormsModule
MaxLengthValidator
MinLengthValidator
NG_ASYNC_VALIDATORS
NG_VALIDATORS
NG_VALUE_ACCESSOR
NgControl
NgControlStatus
NgControlStatusGroup
NgForm
NgModel
NgModelGroup
NgSelectOption
PatternValidator
RadioControlValueAccessor
ReactiveFormsModule
RequiredValidator
SelectControlValueAccessor
SelectMultipleControlValueAccessor
ValidationErrors
Validator
ValidatorFn
Validators
forms
router
ActivatedRoute
ActivatedRouteSnapshot
CanActivate
CanActivateChild
CanDeactivate
CanLoad
ChildrenOutletContexts
Data
DefaultUrlSerializer
DetachedRouteHandle
Event
ExtraOptions
GuardsCheckEnd
GuardsCheckStart
LoadChildren
LoadChildrenCallback
NavigationCancel
NavigationEnd
NavigationError
NavigationExtras
NavigationStart
NoPreloading
OutletContext
PRIMARY_OUTLET
ParamMap
Params
PreloadAllModules
PreloadingStrategy
ROUTER_CONFIGURATION
ROUTER_INITIALIZER
Resolve
ResolveData
ResolveEnd
ResolveStart
Route
RouteConfigLoadEnd
RouteConfigLoadStart
RouteReuseStrategy
Router
RouterLink
RouterLinkActive
RouterLinkWithHref
RouterModule
RouterOutlet
RouterPreloader
RouterState
RouterStateSnapshot
RouterTestingModule
RouterUpgradeInitializer
RoutesRecognized
RunGuardsAndResolvers
SpyNgModuleFactoryLoader
UrlHandlingStrategy
UrlMatchResult
UrlMatcher
UrlSegment
UrlSegmentGroup
UrlSerializer
UrlTree
convertToParamMap
provideRoutes
router
router/testing
router/upgrade
setUpLocationSync
setupTestingRouter
core
ANALYZE_FOR_ENTRY_COMPONENTS
APP_BOOTSTRAP_LISTENER
APP_ID
APP_INITIALIZER
AUTO_STYLE
AfterContentChecked
AfterContentInit
AfterViewChecked
AfterViewInit
AnimationAnimateMetadata
AnimationEntryMetadata
AnimationGroupMetadata
AnimationKeyframe
AnimationKeyframesSequenceMetadata
AnimationMetadata
AnimationPlayer
AnimationSequenceMetadata
AnimationStateMetadata
AnimationStateTransitionMetadata
AnimationStyleMetadata
AnimationStyles
AnimationTransitionEvent
AnimationTransitionMetadata
AnimationTriggerMetadata
ApplicationInitStatus
ApplicationModule
ApplicationRef
Attribute
COMPILER_OPTIONS
CUSTOM_ELEMENTS_SCHEMA
ChangeDetectionStrategy
ChangeDetectorRef
Class
ClassDefinition
ClassProvider
CollectionChangeRecord
Compiler
CompilerFactory
CompilerOptions
Component
ComponentFactory
ComponentFactoryResolver
ComponentFixture
ComponentFixtureAutoDetect
ComponentFixtureNoNgZone
ComponentRef
ContentChild
ContentChildren
DebugElement
DebugNode
DefaultIterableDiffer
Directive
DoCheck
ElementRef
EmbeddedViewRef
ErrorHandler
EventEmitter
ExistingProvider
FactoryProvider
ForwardRefFn
GetTestability
Host
HostBinding
HostListener
Inject
InjectSetupWrapper
Injectable
InjectionToken
Injector
Input
IterableChangeRecord
IterableChanges
IterableDiffer
IterableDifferFactory
IterableDiffers
KeyValueChangeRecord
KeyValueChanges
KeyValueDiffer
KeyValueDifferFactory
KeyValueDiffers
LOCALE_ID
MetadataOverride
MissingTranslationStrategy
ModuleWithComponentFactories
ModuleWithProviders
NO_ERRORS_SCHEMA
NgIterable
NgModule
NgModuleFactory
NgModuleFactoryLoader
NgModuleRef
NgProbeToken
NgZone
OnChanges
OnDestroy
OnInit
OpaqueToken
Optional
Output
PACKAGE_ROOT_URL
PLATFORM_ID
PLATFORM_INITIALIZER
Pipe
PipeTransform
PlatformRef
Predicate
Provider
Query
QueryList
ReflectiveInjector
ReflectiveKey
RenderComponentType
Renderer
Renderer2
RendererFactory2
RendererStyleFlags2
RendererType2
ResolvedReflectiveFactory
ResolvedReflectiveProvider
RootRenderer
Sanitizer
SchemaMetadata
SecurityContext
Self
SimpleChange
SimpleChanges
SkipSelf
SystemJsNgModuleLoader
SystemJsNgModuleLoaderConfig
TRANSLATIONS
TRANSLATIONS_FORMAT
TemplateRef
TestBed
TestComponentRenderer
TestModuleMetadata
Testability
TestabilityRegistry
TrackByFn
TrackByFunction
Type
TypeDecorator
TypeProvider
ValueProvider
Version
ViewChild
ViewChildren
ViewContainerRef
ViewEncapsulation
ViewRef
WrappedValue
WtfScopeFn
animate
asNativeElements
assertPlatform
async
core
core/testing
createPlatform
createPlatformFactory
destroyPlatform
discardPeriodicTasks
enableProdMode
fakeAsync
flush
flushMicrotasks
forwardRef
getDebugNode
getModuleFactory
getPlatform
getTestBed
group
inject
isDevMode
keyframes
platformCore
resetFakeAsyncZone
resolveForwardRef
sequence
setTestabilityGetter
state
style
tick
transition
trigger
withModule
wtfCreateScope
wtfEndTimeRange
wtfLeave
wtfStartTimeRange
animations
AUTO_STYLE
AnimateChildOptions
AnimateTimings
AnimationAnimateChildMetadata
AnimationAnimateMetadata
AnimationAnimateRefMetadata
AnimationBuilder
AnimationDriver
AnimationEvent
AnimationFactory
AnimationGroupMetadata
AnimationKeyframesSequenceMetadata
AnimationMetadata
AnimationMetadataType
AnimationOptions
AnimationPlayer
AnimationQueryMetadata
AnimationQueryOptions
AnimationReferenceMetadata
AnimationSequenceMetadata
AnimationStaggerMetadata
AnimationStateMetadata
AnimationStyleMetadata
AnimationTransitionMetadata
AnimationTriggerMetadata
MockAnimationDriver
MockAnimationPlayer
NoopAnimationPlayer
animate
animateChild
animation
animations
animations/browser
animations/browser/testing
group
keyframes
query
sequence
stagger
state
style
transition
trigger
useAnimation
common
APP_BASE_HREF
AsyncPipe
CommonModule
CurrencyPipe
DOCUMENT
DatePipe
DecimalPipe
DeprecatedI18NPipesModule
HTTP_INTERCEPTORS
HashLocationStrategy
HttpBackend
HttpClient
HttpClientJsonpModule
HttpClientModule
HttpClientTestingModule
HttpClientXsrfModule
HttpDownloadProgressEvent
HttpErrorResponse
HttpEvent
HttpEventType
HttpHandler
HttpHeaderResponse
HttpHeaders
HttpInterceptor
HttpParameterCodec
HttpParams
HttpProgressEvent
HttpRequest
HttpResponse
HttpResponseBase
HttpSentEvent
HttpTestingController
HttpUrlEncodingCodec
HttpUserEvent
HttpXhrBackend
HttpXsrfTokenExtractor
I18nPluralPipe
I18nSelectPipe
JsonPipe
JsonpClientBackend
JsonpInterceptor
LOCATION_INITIALIZED
Location
LocationChangeEvent
LocationChangeListener
LocationStrategy
LowerCasePipe
MockLocationStrategy
NgClass
NgComponentOutlet
NgFor
NgForOf
NgForOfContext
NgIf
NgIfContext
NgLocaleLocalization
NgLocalization
NgPlural
NgPluralCase
NgStyle
NgSwitch
NgSwitchCase
NgSwitchDefault
NgTemplateOutlet
PathLocationStrategy
PercentPipe
PlatformLocation
PopStateEvent
RequestMatch
SlicePipe
SpyLocation
TestRequest
TitleCasePipe
UpperCasePipe
XhrFactory
common
common/http
common/http/testing
common/testing
isPlatformBrowser
isPlatformServer
isPlatformWorkerApp
isPlatformWorkerUi
http
BaseRequestOptions
BaseResponseOptions
BrowserXhr
Connection
ConnectionBackend
CookieXSRFStrategy
Headers
Http
HttpModule
JSONPBackend
JSONPConnection
Jsonp
JsonpModule
MockBackend
MockConnection
QueryEncoder
ReadyState
Request
RequestMethod
RequestOptions
RequestOptionsArgs
Response
ResponseContentType
ResponseOptions
ResponseOptionsArgs
ResponseType
URLSearchParams
XHRBackend
XHRConnection
XSRFStrategy
http
http/testing
platform-webworker
ClientMessageBroker
ClientMessageBrokerFactory
FnArg
MessageBus
MessageBusSink
MessageBusSource
PRIMITIVE
ReceivedMessage
SerializerTypes
ServiceMessageBroker
ServiceMessageBrokerFactory
UiArguments
WORKER_APP_LOCATION_PROVIDERS
WORKER_UI_LOCATION_PROVIDERS
WorkerAppModule
bootstrapWorkerUi
platform-webworker
platformWorkerApp
platformWorkerUi
platform-browser
BrowserAnimationsModule
BrowserModule
BrowserTestingModule
By
DOCUMENT
DomSanitizer
EVENT_MANAGER_PLUGINS
EventManager
HAMMER_GESTURE_CONFIG
HammerGestureConfig
Meta
MetaDefinition
NgProbeToken
NoopAnimationsModule
SafeHtml
SafeResourceUrl
SafeScript
SafeStyle
SafeUrl
SafeValue
Title
disableDebugTools
enableDebugTools
platform-browser
platform-browser/animations
platform-browser/testing
platformBrowser
platformBrowserTesting
platform-browser-dynamic
BrowserDynamicTestingModule
RESOURCE_CACHE_PROVIDER
platform-browser-dynamic
platform-browser-dynamic/testing
platformBrowserDynamic
platformBrowserDynamicTesting
upgrade
UpgradeAdapter
UpgradeAdapterRef
UpgradeComponent
UpgradeModule
downgradeComponent
downgradeInjectable
getAngularLib
setAngularLib
upgrade
upgrade/static
platform-server
INITIAL_CONFIG
PlatformConfig
PlatformState
ServerModule
ServerTestingModule
platform-server
platform-server/testing
platformDynamicServer
platformServer
platformServerTesting
renderModule
renderModuleFactory
platform-webworker-dynamic
platform-webworker-dynamic
platformWorkerAppDynamic
Copyright ©2025 TypeError Powered By AnyPost, page cost 100ms.
Privacy Policy