tokenResponse method

Map<String, dynamic> tokenResponse({
  1. String accessToken = 'fixture-access',
})

Successful token endpoint payload.

Implementation

Map<String, dynamic> tokenResponse({String accessToken = 'fixture-access'}) =>
    <String, dynamic>{
      'access_token': accessToken,
      'token_type': 'Bearer',
      'expires_in': 3600,
    };