13.1.6. DummyTokenValidator¶
Dummy token validator always returning the same configured token validation result for every token
For a detailed handwritten documentation see here
13.1.6.1. Provides¶
main:auth_token_validator
Main implementation of dummy token validator always returning the same configured token validation result for every token
config:
validation_result:
description:Dummy validation result to return
type:string
enum:
- Accepted
- Blocked
- Expired
- Invalid
default:Accepted
validation_reason:
description:Dummy validation reason to return
type:string
default:Token valid
sleep:
description:Time to wait before returning the dummy validation result (in s)
type:number
config:
validation_result:string <optional>
default: “Accepted”
Dummy validation result to return
enum:
- Accepted
- Blocked
- Expired
- Invalid
validation_reason:string <optional>
default: “Token valid”
Dummy validation reason to return
sleep:number <optional>
default: 0.5
Time to wait before returning the dummy validation result (in s)