Provides an implementation of the Basic authentication scheme.
Inheritance: IAuthenticationProvider, IDefaultAuthenticationScheme
コード例 #1
0
 public void Teardown()
 {
     _identityProvider = null;
     _authenticationProvider = null;
 }
コード例 #2
0
 public void Setup()
 {
     _identityProvider = new Mock<IIdentityProvider>(MockBehavior.Strict);
     _authenticationProvider = new BasicAuthenticationProvider(_identityProvider.Object);
 }