SecurityBadge

Domain · API Doc

Inline badge representing an API security scheme type with a matching icon and color.

Scheme types

Preview
BearerAuth ApiKey OAuth2 OpenID mTLS
Code
<%- include('modules/domain/api-doc/SecurityBadge', { type: 'http',   name: 'BearerAuth' }) %>
<%- include('modules/domain/api-doc/SecurityBadge', { type: 'apiKey', name: 'ApiKey' }) %>
<%- include('modules/domain/api-doc/SecurityBadge', { type: 'oauth2', name: 'OAuth2' }) %>
Source modules/domain/api-doc/SecurityBadge.ejs