Options
All
  • Public
  • Public/Protected
  • All
Menu
     

Interface Base

A collection of Auth-Requests for a Base-Endpoint. A BaseEndpoint represents a Namespace for any number of related Endpoints.

Examples:

// "Auth" is the BaseEndpoint ("/auth")
Auth: {
    Actions: {
         // Resolves to "/auth/login"
         Login:  new RouteAU({ ... }),
         // Resolves to "/auth/logout"
         Logout: new RouteAU({ ... }),
    },
    Errors: {
        // Denies "/auth" & "/auth/"
        BAD_REQ: ['/']
    },
}

Hierarchy

Index

Properties

Properties

Actions

Where each related Endpoint is defined.

Errors

Errors: CLRouteER

A plain-object used to define any list paths that are invalid and the HTTP_MSG that should be sent to the end-user.