/// <summary> /// Authentication filter for Brightspace OAuth 2.0 /// </summary> /// <param name="logProvider"></param> /// <param name="requestAuthenticator"></param> /// <param name="principalDependencyRegistry">Called to do out-of-band actions like set up ID2LPrincipal for dependency injection.</param> public OAuth2AuthenticationFilter( ILogProvider logProvider, IRequestAuthenticator requestAuthenticator, ID2LPrincipalDependencyRegistry principalDependencyRegistry ) { m_log = logProvider.Get( this.GetType() ); m_requestAuthenticator = requestAuthenticator; m_principalDependencyRegistry = principalDependencyRegistry; }
/// <summary> /// Authentication filter for Brightspace OAuth 2.0 /// </summary> /// <param name="logProvider"></param> /// <param name="requestAuthenticator"></param> /// <param name="principalDependencyRegistry">Called to do out-of-band actions like set up ID2LPrincipal for dependency injection.</param> public OAuth2AuthenticationFilter( ILogProvider logProvider, IRequestAuthenticator requestAuthenticator, ID2LPrincipalDependencyRegistry principalDependencyRegistry ) { m_log = logProvider.Get(this.GetType()); m_requestAuthenticator = requestAuthenticator; m_principalDependencyRegistry = principalDependencyRegistry; }