mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-18 12:35:48 -07:00
Implement admin enrollment APIs
This commit is contained in:
@@ -18,6 +18,7 @@ __all__ = [
|
||||
"AccessTokenClaims",
|
||||
"DeviceAuthContext",
|
||||
"sanitize_service_context",
|
||||
"normalize_guid",
|
||||
]
|
||||
|
||||
|
||||
@@ -73,6 +74,12 @@ class DeviceGuid:
|
||||
return self.value
|
||||
|
||||
|
||||
def normalize_guid(value: Optional[str]) -> str:
|
||||
"""Expose GUID normalization for administrative helpers."""
|
||||
|
||||
return _normalize_guid(value)
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class DeviceFingerprint:
|
||||
"""Normalized TLS key fingerprint associated with a device."""
|
||||
|
||||
Reference in New Issue
Block a user