C# Class Sdl.Web.Tridion.Context.ContextServiceClaimsProvider

DXA Context Claims Provider using the SDL Web 8 CDaaS Context Service.
This class is excluded in the Release_71 configuration.
Inheritance: IContextClaimsProvider
Show file Open project: sdl/dxa-web-application-dotnet

Public Methods

Method Description
GetContextClaims ( string aspectName, Sdl.Web.Common.Configuration.Localization localization ) : object>.IDictionary

Gets the context claims. Either all context claims or for a given aspect name.

GetDeviceFamily ( ) : string

Gets the device family (an aggregated device claim determined from other context claims).

Private Methods

Method Description
AddAspectClaims ( string aspectName, IContextMap contextMap, object>.IDictionary claims ) : void
ContextServiceClaimsProvider ( ) : System

Class constructor

Method Details

GetContextClaims() public method

Gets the context claims. Either all context claims or for a given aspect name.
public GetContextClaims ( string aspectName, Sdl.Web.Common.Configuration.Localization localization ) : object>.IDictionary
aspectName string The aspect name. If null all context claims are returned.
localization Sdl.Web.Common.Configuration.Localization The context Localization.
return object>.IDictionary

GetDeviceFamily() public method

Gets the device family (an aggregated device claim determined from other context claims).
public GetDeviceFamily ( ) : string
return string