public ArtShowController( IItemActivityService itemActivityService, IApiPrincipal apiPrincipal ) { _itemActivityService = itemActivityService; _apiPrincipal = apiPrincipal; }
public TokensController(IAuthenticationHandler authenticationHandler, IRegSysAlternativePinAuthenticationProvider regSysAlternativePinAuthenticationProvider, IApiPrincipal apiPrincipal) { _authenticationHandler = authenticationHandler; _regSysAlternativePinAuthenticationProvider = regSysAlternativePinAuthenticationProvider; _apiPrincipal = apiPrincipal; }
public EventFeedbackController( IEventFeedbackService eventFeedbackService, IEventService eventService, IApiPrincipal apiPrincipal) { _eventService = eventService; _apiPrincipal = apiPrincipal; _eventFeedbackService = eventFeedbackService; }
public FursuitsController( IFursuitBadgeService fursuitBadgeService, ICollectingGameService collectingGameService, IApiPrincipal apiPrincipal ) { _fursuitBadgeService = fursuitBadgeService; _collectingGameService = collectingGameService; _apiPrincipal = apiPrincipal; }
public AuthenticationResponse AuthorizeViaPrincipal(IApiPrincipal principal) { var result = new AuthenticationResponse() { Uid = principal.Uid, Username = principal.DisplayName, TokenValidUntil = principal.AuthenticationValidUntilUtc ?? DateTime.MinValue }; return(result); }
public PushNotificationsController( IPushEventMediator pushEventMediator, IWnsChannelManager wnsChannelManager, IFirebaseChannelManager firebaseChannelManager, IApiPrincipal apiPrincipal) { _firebaseChannelManager = firebaseChannelManager; _pushEventMediator = pushEventMediator; _apiPrincipal = apiPrincipal; _wnsChannelManager = wnsChannelManager; }
public CommunicationController(IPrivateMessageService privateMessageService, IApiPrincipal apiPrincipal) { _apiPrincipal = apiPrincipal; _privateMessageService = privateMessageService; }