11.1.6. DummyTokenValidator¶
Dummy token validator always returning the same configured token validation result for every token
For a detailed handwritten documentation see here
11.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:
type:
enum: Accepted, Blocked, Expired, Invalid
default:
validation_reason:
description:
type:
default:
sleep:
description:
type:
config:
validation_result:string
default: Accepted
Dummy validation result to return
enum: Accepted, Blocked, Expired, Invalid
validation_reason:string
default: Token valid
Dummy validation reason to return
sleep:number
default: 0.5
Time to wait before returning the dumy validation result (in s)