예제 #1
0
 public AuthController(IAuthApiProxy apiProxy, ITokenAuth tokenAuth)
 {
     _apiProxy  = apiProxy;
     _tokenAuth = tokenAuth;
 }
예제 #2
0
 public TokenAuthMiddleware(RequestDelegate next, ITokenAuth tokenAuth)
 {
     _next      = next;
     _tokenAuth = tokenAuth;
 }
예제 #3
0
 public UsersController(AppDbContext context, ITokenAuth tokenAuth)
 {
     this.context   = context;
     this.tokenAuth = tokenAuth;
 }
 public CourseController(ICourseApiProxy apiProxy, ITokenAuth tokenAuth)
 {
     _apiProxy  = apiProxy;
     _tokenAuth = tokenAuth;
 }
예제 #5
0
 public ArticleController(IArticleApiProxy _articleApiProxy, ITagApiProxy tagApiProxy, ITokenAuth tokenAuth)
 {
     _articlesApiProxy = _articleApiProxy;
     _tagApiProxy      = tagApiProxy;
     this._tokenAuth   = tokenAuth;
 }
예제 #6
0
 public AuthController(IAuthService authService, ITokenAuth tokenAuth)
 {
     _authService = authService;
     _tokenAuth   = tokenAuth;
 }
 public HomeController(ITokenAuth tokenAuth)
 {
     _tokenAuth = tokenAuth;
 }