# Class: ShiroAuth

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

#### new ShiroAuth()

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

### 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 43

  ##### Returns:

  a reference to this for fluency
  Type
    ShiroAuth