#NEWLINE# @ property #NEWLINE# def allowed_grant_types( self ) : #NEWLINE# #INDENT# types = [ 'authorization_code' , 'password' , 'client_credentials' , 'refresh_token' ] #NEWLINE# if self . disallow_grant_type : #NEWLINE# #INDENT# types . remove ( self . disallow_grant_type ) #NEWLINE# #UNINDENT# return types