-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Description
Hi,
First of all thanks for sharing such a nice and efficient scim server implementation code. Every thing works fine except /schemas and /ResourceTypes endpoints.
Looks these endpoints are set to return empty collection. Could you please help me these endpoints working ?
public abstract class ProviderBase : IProvider
{
private static readonly Lazy<IReadOnlyCollection<TypeScheme>> TypeSchema =
new Lazy<IReadOnlyCollection<TypeScheme>>(
() => **Array.Empty<TypeScheme>()**); // looks this is set as empty
private static readonly Lazy<IReadOnlyCollection<Core2ResourceType>> Types =
new Lazy<IReadOnlyCollection<Core2ResourceType>>(
() =>
Array.Empty<Core2ResourceType>()); // looks this is set as empty
public virtual bool AcceptLargeObjects
{
get;
set;
}
public virtual IReadOnlyCollection<Core2ResourceType> ResourceTypes
{
get
{
return ProviderBase.Types.Value;
}
}
public virtual IReadOnlyCollection<TypeScheme> Schema
{
get
{
return ProviderBase.TypeSchema.Value;
}
}
...
}
Metadata
Metadata
Assignees
Labels
No labels