Class: Autosign::Validator::JWT

Inherits:
ValidatorBase show all
Defined in:
lib/autosign/validator/jwt.rb

Overview

Validate certificate signing requests using JSON Web Tokens (JWT). This is the expected primary validator when using the autosign gem. Validation requires that the shared secret used to generate the JWT is the same as on the validating system. The validator also checks that the token has not expired, and that one-time (non-reusable) tokens have not been previously used.

Constant Summary collapse

NAME =
'jwt_token'

Instance Attribute Summary

Attributes inherited from ValidatorBase

#config_file_settings

Method Summary

Methods inherited from ValidatorBase

#initialize, #name, #validate

Constructor Details

This class inherits a constructor from Autosign::Validator::ValidatorBase