Skip to content

Commit d427727

Browse files
committed
wip: new feature (trust framework self identification)
1 parent c7f18e9 commit d427727

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pyeudiw/trust/handler/interface.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ def validate_trust_material(
136136

137137
def is_it_me(self, client_id: str) -> bool:
138138
"""
139-
TODO
139+
Returns true if, according to this trust framework implementation,
140+
the argument client_id refers to the implementation itself as a
141+
*member* of the trust framework.
140142
"""
141-
return client_id == self.default_client_id
143+
return client_id == self.client_id
142144

143145
@property
144146
def name(self) -> str:
@@ -149,7 +151,7 @@ def name(self) -> str:
149151
:rtype: str
150152
"""
151153
return str(self.__class__.__name__)
152-
154+
153155
@property
154156
def default_client_id(self) -> str:
155157
"""
@@ -158,7 +160,4 @@ def default_client_id(self) -> str:
158160
:returns: The default client id of the trust handler
159161
:rtype: str
160162
"""
161-
# TODO: investiga dove questo viene veramente chiamat
162-
# TODO: proposal to rename configured_client_id
163-
# breakpoint()
164163
return self.client_id

0 commit comments

Comments
 (0)