Пример #1
0
 public OAuthModule(OAuth api)
 {
     _OAuth = api;
     Get["/SignIn"] = SignIn;
     Get["/SignOut"] = SignOut;
     Get["/callback"] = Callback;
 }
Пример #2
0
 public SignInViewModel(OAuth oAuth, ISession session)
     : base("SignIn", session)
 {
     OAuthUrl = oAuth.GetAuthUrl();
 }