From d25011e03a9c2624c7e372d8c3308c45ac39ce61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Fri, 11 Aug 2017 15:33:37 +0200 Subject: [PATCH] authentication: use new Setter and Getter --- packages/authentication/src/providers/authenticate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/authentication/src/providers/authenticate.ts b/packages/authentication/src/providers/authenticate.ts index a4ecc8f81584..62f85de273f2 100644 --- a/packages/authentication/src/providers/authenticate.ts +++ b/packages/authentication/src/providers/authenticate.ts @@ -43,9 +43,9 @@ export class AuthenticationProvider implements Provider { // defer resolution of the strategy until authenticate() action // is executed. @inject.getter(BindingKeys.Authentication.STRATEGY) - readonly getStrategy: () => Promise, + readonly getStrategy: Getter, @inject.setter(BindingKeys.Authentication.CURRENT_USER) - readonly setCurrentUser: (value: UserProfile) => void, + readonly setCurrentUser: Setter, ) {} /**