GetTokenExistsValve

Valve to check if provided user has a Pocket Pass, One Touch or hardware token enrolled/assigned.

Properties

Name Description Default value Mandatory Supports property expansion
username_attribute Request property containing the username. username No No
get_value_attribute Request property containing the type of token to fetch. Property should have value 'token' or 'pki'. get_value_attribute No No
get_value_attribute_key Item property where the result should end up. The property value will be 'true' if the user has a token. Otherwise 'false'. get_value No No
token_type Overrides the 'get_value_attribute' parameter. Possible values 'OATH' or 'PKI'. No No

Example Configuration

{
    "name": "GetTokenExistsValve",
    "config": {
        "username_attribute":"User-Name",
        "token_type":"OATH"
    }
}

Requirements

Item set must have at least one entry.