Skip to content

interface DataProtectionServiceCollectionExtensions

cangjie
public interface DataProtectionServiceCollectionExtensions

功能:定义数据保护服务注册扩展接口。

扩展到

成员概览

成员功能
func addDataProtection()使用默认选项注册数据保护服务。
func addDataProtection((DataProtectionOptions) -> Unit)注册数据保护服务并配置数据保护选项。

func addDataProtection()

cangjie
func addDataProtection(): DataProtectionBuilder

功能:使用默认选项注册数据保护服务。

返回值:

func addDataProtection((DataProtectionOptions) -> Unit)

cangjie
func addDataProtection(configureOptions: (DataProtectionOptions) -> Unit): DataProtectionBuilder

功能:注册数据保护服务并配置数据保护选项。

参数:

返回值: