public OAuthModule(OAuth api) { _OAuth = api; Get["/SignIn"] = SignIn; Get["/SignOut"] = SignOut; Get["/callback"] = Callback; }
public SignInViewModel(OAuth oAuth, ISession session) : base("SignIn", session) { OAuthUrl = oAuth.GetAuthUrl(); }