Buckets:

download
raw
811 Bytes
import pytest
from fastapi_keycloak import FastAPIKeycloak, FastAPIKeycloakAuth
@pytest.fixture
def idp():
return FastAPIKeycloak(
server_url="http://localhost:8085/auth",
client_id="test-client",
client_secret="GzgACcJzhzQ4j8kWhmhazt7WSdxDVUyE",
admin_client_secret="BIcczGsZ6I8W5zf0rZg5qSexlloQLPKB",
realm="Test",
callback_uri="http://localhost:8081/callback",
)
@pytest.fixture
def idp_auth():
"""An auth-only client for the same realm/client as `idp`, but with no admin credentials."""
return FastAPIKeycloakAuth(
server_url="http://localhost:8085/auth",
client_id="test-client",
client_secret="GzgACcJzhzQ4j8kWhmhazt7WSdxDVUyE",
realm="Test",
callback_uri="http://localhost:8081/callback",
)

Xet Storage Details

Size:
811 Bytes
·
Xet hash:
9063f3759e134a71c0fe0460c37ea3a23153e7db8a20cd46807502108cc00423

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.