SessionDataTransformer. SessionDataTransformer

Transforms the user's server-side Configuration and Policy to content nodes (called by user.Login)

Constructor

new SessionDataTransformer() → {SessionDataTransformer}

Returns:
Type: 
SessionDataTransformer

Methods

transformUserConfiguration(configData) → {object}

Transform user configuration to JellyfinUserConfiguration content node Configuration is SERVER-AUTHORITATIVE and should never be loaded from registry

Parameters:
NameTypeDescription
configDataobject
Returns:
Type: 
object

transformUserPolicy(policyData) → {object}

Transform user policy to JellyfinUserPolicy content node Policy is SERVER-AUTHORITATIVE and should never be loaded from registry

Parameters:
NameTypeDescription
policyDataobject
Returns:
Type: 
object