Skip to content

Commit 738ddc3

Browse files
author
Samanta de Barros
authored
Merge pull request #2051 from sdebarros/update-deprecation-links
Update deprecation links in v2
2 parents ab12f06 + 5049c34 commit 738ddc3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export default Base.extend({
445445

446446
__Authorizers use the session data acquired by the authenticator to construct
447447
authorization data__ that can be injected into outgoing network requests. As
448-
[Deprecation warning: Authorizers are deprecated](https://github.com/simplabs/ember-simple-auth#deprecation-of-authorizers)
448+
[Deprecation warning: Authorizers are deprecated](#deprecation-of-authorizers)
449449

450450
the authorizer depends on the data that the authenticator acquires,
451451
__authorizers and authenticators have to fit together__.

addon/authenticators/oauth2-password-grant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export default BaseAuthenticator.extend({
271271
{
272272
id: 'ember-simple-auth.oauth2-password-grant-authenticator.client-id-as-authorization',
273273
until: '3.0.0',
274-
url: 'https://github.com/simplabs/ember-simple-auth#deprecation-of-client-id-as-header',
274+
url: 'https://github.com/simplabs/ember-simple-auth/tree/2.0.0#deprecation-of-client-id-as-header',
275275
}
276276
);
277277
}

addon/authorizers/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default EmberObject.extend({
3030
{
3131
id: 'ember-simple-auth.baseAuthorizer',
3232
until: '3.0.0',
33-
url: 'https://github.com/simplabs/ember-simple-auth#deprecation-of-authorizers',
33+
url: 'https://github.com/simplabs/ember-simple-auth/tree/2.0.0#deprecation-of-authorizers',
3434
}
3535
);
3636
},

addon/services/session.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export default Service.extend(Evented, {
238238
deprecate(`Ember Simple Auth: 'authorize' is deprecated.`, false, {
239239
id: 'ember-simple-auth.session.authorize',
240240
until: '3.0.0',
241-
url: 'https://github.com/simplabs/ember-simple-auth#authorizers'
241+
url: 'https://github.com/simplabs/ember-simple-auth/tree/2.0.0#deprecation-of-authorizers'
242242
});
243243
if (this.get('isAuthenticated')) {
244244
const authorizer = getOwner(this).lookup(authorizerFactory);

0 commit comments

Comments
 (0)