You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
480 B
19 lines
480 B
using System.Collections.Immutable;
|
|
using Connected.ServiceModel;
|
|
|
|
namespace Connected.Services.Authorization;
|
|
|
|
public sealed class ServiceAuthorizationMiddlewareArgs<TArgs> : EventArgs
|
|
{
|
|
public ServiceAuthorizationMiddlewareArgs(ICallerContext context, ImmutableArray<string> claims, TArgs args)
|
|
{
|
|
Context = context;
|
|
Claims = claims;
|
|
Args = args;
|
|
}
|
|
|
|
public ICallerContext Context { get; }
|
|
public ImmutableArray<string> Claims { get; }
|
|
public TArgs Args { get; }
|
|
}
|