# Class: ShiroAuth

## vertx-auth-shiro-js/shiro_auth~ ShiroAuth

#### new ShiroAuth()

  Source:
    - vertx-auth-shiro-js/shiro_auth.js, line 29

### Methods

#### setRolePrefix(rolePrefix) → {ShiroAuth}

  Set the role prefix to distinguish from permissions when checking for isPermitted requests.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `rolePrefix` | string | a Prefix e.g.: "role:"

  Source:
    - vertx-auth-shiro-js/shiro_auth.js, line 42

  ##### Returns:

  a reference to this for fluency
  Type
    ShiroAuth