Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: lib/src/expiration_exception.dart

Issue 1582703002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/oauth2.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/credentials.dart ('k') | lib/src/handle_access_token_response.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library oauth2.expiration_exception;
6
7 import 'credentials.dart'; 5 import 'credentials.dart';
8 6
9 /// An exception raised when attempting to use expired OAuth2 credentials. 7 /// An exception raised when attempting to use expired OAuth2 credentials.
10 class ExpirationException implements Exception { 8 class ExpirationException implements Exception {
11 /// The expired credentials. 9 /// The expired credentials.
12 final Credentials credentials; 10 final Credentials credentials;
13 11
14 /// Creates an ExpirationException. 12 /// Creates an ExpirationException.
15 ExpirationException(this.credentials); 13 ExpirationException(this.credentials);
16 14
17 /// Provides a string description of the ExpirationException. 15 /// Provides a string description of the ExpirationException.
18 String toString() => 16 String toString() =>
19 "OAuth2 credentials have expired and can't be refreshed."; 17 "OAuth2 credentials have expired and can't be refreshed.";
20 } 18 }
OLDNEW
« no previous file with comments | « lib/src/credentials.dart ('k') | lib/src/handle_access_token_response.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698