Source code for spresso.model.authentication.json_schema
"""
JSON schema definitions.
"""
from spresso.model.base import JsonSchema
[docs]class AuthenticationJsonSchema(JsonSchema):
"""
Base resource folder.
"""
resource_path = "resources/authentication/"
[docs]class WellKnownInfoDefinition(AuthenticationJsonSchema):
"""
Well Known Info schema definition.
"""
file_path = "json/wk_info.json"
public_key = "public_key"
[docs]class IdentityAssertionDefinition(AuthenticationJsonSchema):
"""
Identity Assertion schmema definition.
"""
file_path = "json/ia_sig.json"
ia = "ia_signature"
[docs]class StartLoginDefinition(AuthenticationJsonSchema):
"""
StartLogin schema definition.
"""
file_path = "json/start_login.json"
forwarder_domain = "forwarder_domain"
login_session_token = "login_session_token"
tag_key = "tag_key"