-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added cnames support, removed interfaces from sdk and replaced with s…
…ervices
- Loading branch information
1 parent
482a04a
commit 0e1d388
Showing
17 changed files
with
58 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
from pydantic import BaseModel, Field | ||
from pydantic import BaseModel, ConfigDict, Field | ||
from typing_extensions import Optional | ||
|
||
|
||
class SessionValidationResult(BaseModel): | ||
"""Result class for SessionService validation.""" | ||
|
||
model_config = ConfigDict( | ||
arbitrary_types_allowed=True, | ||
) | ||
authenticated: bool = Field(default=False, description="Indicates success of validation by session service.") | ||
user_id: Optional[str] = Field(default=None, description="The user ID.") | ||
full_name: Optional[str] = Field(default=None, description="The full name.") | ||
error: Optional[Exception] = Field(default=None, description="Error occurred during validation.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
from .interface import IdentifierInterface as IdentifierInterface | ||
from .interface import SessionInterface as SessionInterface | ||
from .interface import UserInterface as UserInterface | ||
from .implementation import IdentifierService, SessionService, UserService | ||
|
||
__all__ = [ | ||
"IdentifierInterface", | ||
"UserInterface", | ||
"SessionInterface", | ||
] | ||
__all__ = ["IdentifierService", "SessionService", "UserService"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.