@@ -526,7 +526,7 @@ describe('TokenHandler integration', function() {
526526 . catch ( should . fail ) ;
527527 } ) ;
528528
529- describe ( 'with `password` grant type and `requiresClientAuthentication ` is false' , function ( ) {
529+ describe ( 'with `password` grant type and `requireClientAuthentication ` is false' , function ( ) {
530530
531531 it ( 'should return a client ' , function ( ) {
532532 var client = { id : 12345 , grants : [ ] } ;
@@ -539,7 +539,7 @@ describe('TokenHandler integration', function() {
539539 accessTokenLifetime : 120 ,
540540 model : model ,
541541 refreshTokenLifetime : 120 ,
542- requiresClientAuthentication : {
542+ requireClientAuthentication : {
543543 password : false
544544 }
545545 } ) ;
@@ -624,13 +624,13 @@ describe('TokenHandler integration', function() {
624624 }
625625 } ) ;
626626
627- describe ( 'with `client_id` and grant type is `password` and `requiresClientAuthentication ` is false' , function ( ) {
627+ describe ( 'with `client_id` and grant type is `password` and `requireClientAuthentication ` is false' , function ( ) {
628628 it ( 'should return a client' , function ( ) {
629629 var model = {
630630 getClient : function ( ) { } ,
631631 saveToken : function ( ) { }
632632 } ;
633- var handler = new TokenHandler ( { accessTokenLifetime : 120 , model : model , refreshTokenLifetime : 120 , requiresClientAuthentication : { password : false } } ) ;
633+ var handler = new TokenHandler ( { accessTokenLifetime : 120 , model : model , refreshTokenLifetime : 120 , requireClientAuthentication : { password : false } } ) ;
634634 var request = new Request ( { body : { client_id : 'foo' , grant_type : 'password' } , headers : { } , method : { } , query : { } } ) ;
635635 var credentials = handler . getClientCredentials ( request ) ;
636636
0 commit comments