func SafeGetIClaimsProviderFromContainer(ctn di.Container) (IClaimsProvider, error) {
	obj, err := ctn.SafeGetByType(ReflectTypeIClaimsProvider)
	if err != nil {
		return nil, err
	}
	return obj.(IClaimsProvider), nil
}
// SafeGetIClaimsProviderFromContainer trys to get the object by type, will not panic, returns nil and error
SafeGetIClaimsProviderFromContainer trys to get the object by type, will not panic, returns nil and error
// SafeGetIClaimsProviderFromContainer trys to get the object by type will not panic returns nil and error
func SafeGetIClaimsProviderFromContainer(ctn di.Container) (IClaimsProvider, error) {
	obj, err := ctn.SafeGetByType(ReflectTypeIClaimsProvider)
	if err != nil {
		return nil, err
	}
	return obj.(IClaimsProvider), nil
}
func SafeGetIClaimsProviderFromContainer ( ctn di . Container ) ( IClaimsProvider , error ) { obj , err := ctn . SafeGetByType ( ReflectTypeIClaimsProvider ) if err != nil { return nil , err } return obj . ( IClaimsProvider ) , nil }
SafeGetIClaimsProviderFromContainer trys to get the object by type, will not panic, returns nil and error
SafeGetIClaimsProviderFromContainer trys to get the object by type will not panic returns nil and error