Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultAuthConfiguration

Hierarchy

  • DefaultAuthConfiguration

Implements

Index

Constructors

Properties

Object literals

Constructors

constructor

  • Returns DefaultAuthConfiguration

  • Returns DefaultAuthConfiguration

  • Returns DefaultAuthConfiguration

Properties

Private _roleTitles

_roleTitles: any = ["public", "user", "admin"]

Private _roles

_roles: any = null

accessLevels

  • get accessLevels(): AccessLevels
  • set accessLevels(accessLevels: AccessLevels): void
  • Returns AccessLevels

  • Parameters

    • accessLevels: AccessLevels

    Returns void

roleTitles

  • get roleTitles(): Array<string>
  • set roleTitles(roleTitles: Array<string>): void
  • Returns Array<string>

  • Parameters

    • roleTitles: Array<string>

    Returns void

roles

  • get roles(): Role[]
  • set roles(roles: Role[]): void
  • Returns Role[]

  • Parameters

    • roles: Role[]

    Returns void

Object literals

Private _accessLevels

_accessLevels: object

admin

admin: string[] = ["admin"]

anon

anon: string[] = ["public"]

public

public: string = "*"

user

user: string[] = ["user", "admin"]