• LoggedInAttribute

Contents

LoggedInAttribute

Namespace: SharedPluginFeatures

Assembly: SharedPluginFeatures

This attribute is used in conjunction with the UserSessionMiddleware.Plugin module and indicates that a user must be logged in when attempting to gain access to the route.

Constructors

#ctor Default constructor. If used the login page is set to the default value of /Login/
#ctor(String) Constructor Allows the route to specify a route to the login page that will be used.

Properties

LoginPage The url of the page the user will be redirected to, in order to login and gain access to the route where the attribute was applied.

In This Document