コード例 #1
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_claims_locales_supported(self):
     """OPTIONAL. Languages and scripts supported for values in Claims
     being returned, represented as a JSON array of BCP47 [RFC5646]
     language tag values. Not all languages and scripts are necessarily
     supported for all Claim values.
     """
     validate_array_value(self, 'claims_locales_supported')
コード例 #2
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_claims_supported(self):
     """RECOMMENDED. JSON array containing a list of the Claim Names
     of the Claims that the OpenID Provider MAY be able to supply values
     for. Note that for privacy or other reasons, this might not be an
     exhaustive list.
     """
     validate_array_value(self, 'claims_supported')
コード例 #3
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_request_object_encryption_enc_values_supported(self):
     """OPTIONAL. JSON array containing a list of the JWE encryption
     algorithms (enc values) supported by the OP for Request Objects.
     These algorithms are used both when the Request Object is passed
     by value and when it is passed by reference.
     """
     validate_array_value(self,
                          'request_object_encryption_enc_values_supported')
コード例 #4
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_acr_values_supported(self):
     """OPTIONAL. JSON array containing a list of the Authentication
     Context Class References that this OP supports.
     """
     validate_array_value(self, 'acr_values_supported')
コード例 #5
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_userinfo_encryption_enc_values_supported(self):
     """OPTIONAL. JSON array containing a list of the JWE encryption
     algorithms (enc values) [JWA] supported by the UserInfo Endpoint
     to encode the Claims in a JWT.
     """
     validate_array_value(self, 'userinfo_encryption_enc_values_supported')
コード例 #6
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_userinfo_signing_alg_values_supported(self):
     """OPTIONAL. JSON array containing a list of the JWS signing
     algorithms (alg values) [JWA] supported by the UserInfo Endpoint
     to encode the Claims in a JWT. The value none MAY be included.
     """
     validate_array_value(self, 'userinfo_signing_alg_values_supported')
コード例 #7
0
ファイル: models.py プロジェクト: musabdullah0/sendit
 def validate_id_token_encryption_enc_values_supported(self):
     """OPTIONAL. JSON array containing a list of the JWE encryption
     algorithms (enc values) supported by the OP for the ID Token to
     encode the Claims in a JWT.
     """
     validate_array_value(self, 'id_token_encryption_enc_values_supported')