#NEWLINE# def build_jwx_def( self ) : #NEWLINE# #INDENT# self . jwx_def = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for _typ in [ 'signing_alg' , 'encryption_alg' , 'encryption_enc' ] : #NEWLINE# #INDENT# self . jwx_def [ _typ ] = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for item in [ 'id_token' , 'userinfo' ] : #NEWLINE# #INDENT# cap_param = '{}_{}_values_supported' . format ( cap_param , _typ ) #NEWLINE# try : #NEWLINE# #INDENT# self . jwx_def [ _typ ] [ item ] = self . capabilities [ cap_param ] [ 0 ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# self . jwx_def [ _typ ] [ item ] = ''