Module: RackOidcApi
- Defined in:
- lib/rack-oidc-api/middleware.rb
Defined Under Namespace
Classes: Middleware
Constant Summary collapse
- BEARER_TOKEN_REGEX =
%r{ \ABearer\s{1}( # starts with Bearer and a single space [a-zA-Z0-9\-\_]+\. # 1 or more chars followed by a single period [a-zA-Z0-9\-\_]+\. # 1 or more chars followed by a single period [a-zA-Z0-9\-\_]+ # 1 or more chars )\z # nothing trailing }ix
- ALGORITHMS =
%w(RS256 RS384 RS512)