示例#1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="clock"></param>
 /// <param name="tools"></param>
 /// <param name="logoutNotificationService"></param>
 /// <param name="backChannelLogoutHttpClient"></param>
 /// <param name="logger"></param>
 public DefaultBackChannelLogoutService(
     ISystemClock clock,
     IdentityServerTools tools,
     ILogoutNotificationService logoutNotificationService,
     IBackChannelLogoutHttpClient backChannelLogoutHttpClient,
     ILogger <IBackChannelLogoutService> logger)
 {
     Clock = clock;
     Tools = tools;
     LogoutNotificationService = logoutNotificationService;
     HttpClient = backChannelLogoutHttpClient;
     Logger     = logger;
 }
 /// <summary>
 /// Creates a new instance of the EndSessionRequestValidator.
 /// </summary>
 /// <param name="context"></param>
 /// <param name="options"></param>
 /// <param name="tokenValidator"></param>
 /// <param name="uriValidator"></param>
 /// <param name="userSession"></param>
 /// <param name="logoutNotificationService"></param>
 /// <param name="endSessionMessageStore"></param>
 /// <param name="logger"></param>
 public EndSessionRequestValidator(
     IHttpContextAccessor context,
     IdentityServerOptions options,
     ITokenValidator tokenValidator,
     IRedirectUriValidator uriValidator,
     IUserSession userSession,
     ILogoutNotificationService logoutNotificationService,
     IMessageStore <LogoutNotificationContext> endSessionMessageStore,
     ILogger <EndSessionRequestValidator> logger)
 {
     Context                   = context;
     Options                   = options;
     TokenValidator            = tokenValidator;
     UriValidator              = uriValidator;
     UserSession               = userSession;
     LogoutNotificationService = logoutNotificationService;
     EndSessionMessageStore    = endSessionMessageStore;
     Logger = logger;
 }
示例#3
0
    /// <summary>
    /// Creates a new instance of the EndSessionRequestValidator.
    /// </summary>
    /// <param name="context"></param>
    /// <param name="options"></param>
    /// <param name="tokenValidator"></param>
    /// <param name="uriValidator"></param>
    /// <param name="userSession"></param>
    /// <param name="logoutNotificationService"></param>
    /// <param name="endSessionMessageStore"></param>
    /// <param name="logger"></param>
    public EndSessionRequestValidator(
        IHttpContextAccessor context,
        IdentityServerOptions options,
        ITokenValidator tokenValidator,
        IRedirectUriValidator uriValidator,
        IUserSession userSession,
        ILogoutNotificationService logoutNotificationService,
        IMessageStore <LogoutNotificationContext> endSessionMessageStore,
        ILogger <EndSessionRequestValidator> logger)
    {
#pragma warning disable CS0618 // Type or member is obsolete
        Context = context;
#pragma warning restore CS0618 // Type or member is obsolete
        Options                   = options;
        TokenValidator            = tokenValidator;
        UriValidator              = uriValidator;
        UserSession               = userSession;
        LogoutNotificationService = logoutNotificationService;
        EndSessionMessageStore    = endSessionMessageStore;
        Logger = logger;
    }