Skip to content

Commit

Permalink
deprecate Torii authenticator
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Dec 10, 2021
1 parent 9fde2c2 commit 4ed69fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/ember-simple-auth/addon/authenticators/torii.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@ import RSVP from 'rsvp';
import { assert } from '@ember/debug';
import { isPresent, isEmpty } from '@ember/utils';
import { assign as emberAssign } from '@ember/polyfills';
import { deprecate } from '@ember/debug';
import BaseAuthenticator from './base';

deprecate('Ember Simple Auth: The Torii authenticator is deprecated.', false, {
id: 'ember-simple-auth.authenticators.torii',
until: '5.0.0',
for: 'ember-simple-auth',
since: {
enabled: '4.2.0'
}
});

/**
Authenticator that wraps the
[Torii library](https://github.com/Vestorly/torii) and thus allows to connect
Expand All @@ -24,6 +34,7 @@ import BaseAuthenticator from './base';
```
@class ToriiAuthenticator
@deprecated Implement an authenticator that wraps Torii in application code instead
@module ember-simple-auth/authenticators/torii
@extends BaseAuthenticator
@public
Expand Down

0 comments on commit 4ed69fc

Please sign in to comment.