File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11from dataclasses import dataclass
2- from datetime import datetime
32from typing import Optional
43
54from cryptojwt .jwk .jwk import key_from_jwk_dict
@@ -16,7 +15,7 @@ class TrustEvaluationType:
1615 def __init__ (
1716 self ,
1817 attribute_name : str ,
19- expiration_date : datetime ,
18+ expiration_date : int ,
2019 jwks : list [dict | JWK ] = [],
2120 trust_handler_name : str = "" ,
2221 ** kwargs
@@ -26,8 +25,8 @@ def __init__(
2625
2726 :param attribute_name: The attribute name of the the field that holds the trust parameter data
2827 :type attribute_name: str
29- :param expiration_date: The expiration date of the trust parameter data
30- :type expiration_date: datetime
28+ :param expiration_date: The expiration date in unix timestamp of the trust parameter data
29+ :type expiration_date: int
3130 :param jwks: The jwks of the trust parameter data
3231 :type jwks: list[dict | JWK], optional
3332 :param trust_handler_name: The trust handler that handles the trust parameter data
You can’t perform that action at this time.
0 commit comments