File tree Expand file tree Collapse file tree
src/MyTested.AspNetCore.Mvc.Abstractions/Builders Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ namespace MyTested . AspNetCore . Mvc . Builders . Authentication
2+ {
3+ using System . Collections . Generic ;
4+ using System . Security . Claims ;
5+ using MyTested . AspNetCore . Mvc . Builders . Contracts . Authentication ;
6+
7+ public class WithoutClaimsIdentityBuilder : IAndWithoutClaimsIdentityBuilder
8+ {
9+ public IAndWithoutClaimsIdentityBuilder WithoutClaim ( string type , string value )
10+ {
11+ throw new System . NotImplementedException ( ) ;
12+ }
13+
14+ public IAndWithoutClaimsIdentityBuilder WithoutClaim ( Claim claim )
15+ {
16+ throw new System . NotImplementedException ( ) ;
17+ }
18+
19+ public IAndWithoutClaimsIdentityBuilder WithoutClaims ( IEnumerable < Claim > claims )
20+ {
21+ throw new System . NotImplementedException ( ) ;
22+ }
23+
24+ public IAndWithoutClaimsIdentityBuilder WithoutClaims ( params Claim [ ] claims )
25+ {
26+ throw new System . NotImplementedException ( ) ;
27+ }
28+
29+ public IAndWithoutClaimsIdentityBuilder WithoutIdentifier ( string identifier )
30+ {
31+ throw new System . NotImplementedException ( ) ;
32+ }
33+
34+ public IAndWithoutClaimsIdentityBuilder WithoutNameType ( string nameType )
35+ {
36+ throw new System . NotImplementedException ( ) ;
37+ }
38+
39+ public IAndWithoutClaimsIdentityBuilder WithoutRoleType ( string roleType )
40+ {
41+ throw new System . NotImplementedException ( ) ;
42+ }
43+
44+ public IAndWithoutClaimsIdentityBuilder WithoutUsername ( string username )
45+ {
46+ throw new System . NotImplementedException ( ) ;
47+ }
48+
49+ public IWithoutClaimsIdentityBuilder AndAlso ( )
50+ => this ;
51+ }
52+ }
Original file line number Diff line number Diff line change 1+ namespace MyTested . AspNetCore . Mvc . Builders . Contracts . Authentication
2+ {
3+ public interface IAndWithoutClaimsIdentityBuilder : IWithoutClaimsIdentityBuilder
4+ {
5+ IWithoutClaimsIdentityBuilder AndAlso ( ) ;
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ namespace MyTested . AspNetCore . Mvc . Builders . Contracts . Authentication
2+ {
3+ using System . Collections . Generic ;
4+ using System . Security . Claims ;
5+
6+ public interface IWithoutClaimsIdentityBuilder
7+ {
8+ IAndWithoutClaimsIdentityBuilder WithoutNameType ( string nameType ) ;
9+
10+ IAndWithoutClaimsIdentityBuilder WithoutRoleType ( string roleType ) ;
11+
12+ IAndWithoutClaimsIdentityBuilder WithoutIdentifier ( string identifier ) ;
13+
14+ IAndWithoutClaimsIdentityBuilder WithoutUsername ( string username ) ;
15+
16+ IAndWithoutClaimsIdentityBuilder WithoutClaim ( string type , string value ) ;
17+
18+ IAndWithoutClaimsIdentityBuilder WithoutClaim ( Claim claim ) ;
19+
20+ IAndWithoutClaimsIdentityBuilder WithoutClaims ( IEnumerable < Claim > claims ) ;
21+
22+ IAndWithoutClaimsIdentityBuilder WithoutClaims ( params Claim [ ] claims ) ;
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments