scitoken_authorization_header¶
-
igwn_auth_utils.scitoken_authorization_header(token, scheme=
'Bearer'
)[source]¶ Format an in-memory token for use in an HTTP Authorization Header.
- Parameters:¶
the token to format
the Authorization scheme to use
- Returns:¶
header_str – formatted content for an
Authorization
header- Return type:¶
Notes
See RFC-6750 for details on the
Bearer
Authorization token standard.