예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationService"/> class.
 /// </summary>
 /// <param name="sessionAnchor">
 /// The (injected) <see cref="ISessionAnchor"/> that provides access to the <see cref="ISession"/>
 /// </param>
 /// <param name="authenticationStateProvider">
 /// The (injected) <see cref="AuthenticationStateProvider"/>
 /// </param>
 public AuthenticationService(ISessionAnchor sessionAnchor, AuthenticationStateProvider authenticationStateProvider)
 {
     this.sessionAnchor = sessionAnchor;
     this.authenticationStateProvider = authenticationStateProvider;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CDP4AuthenticationStateProvider"/>
 /// </summary>
 /// <param name="sessionAnchor">
 /// The (injected) <see cref="ISessionAnchor"/> used to get access to the <see cref="ISession"/>
 /// </param>
 public CDP4AuthenticationStateProvider(ISessionAnchor sessionAnchor)
 {
     this.sessionAnchor = sessionAnchor;
 }