# Class: ShiroAuth

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

#### new ShiroAuth()

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

### Methods

#### authenticate(arg0, arg1)

##### Parameters:

Name | Type | Description
--- | --- | ---
`arg0` | Object |
`arg1` | function |

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

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

##### Returns:

a reference to this for fluency

Type
  ShiroAuth