Skip to content

Commit 968a96a

Browse files
committed
Update README
1 parent 00be259 commit 968a96a

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.ja.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
このプラグインは、Cookieによって永続的にログインする認証ハンドラを提供します。 暗号化されたユーザー名/パスワードをCookieに設定する代わりに、トークンを発行する方法を使用します。
1919

20-
This library inspired by Barry Jaspan's article "[Improved Persistent Login Cookie Best Practice](http://jaspan.com/improved_persistent_login_cookie_best_practice)", and Gabriel Birke's libray "https://github.com/gbirke/rememberme".
20+
This library is inspired by Barry Jaspan's article "[Improved Persistent Login Cookie Best Practice](http://jaspan.com/improved_persistent_login_cookie_best_practice)", and Gabriel Birke's library "https://github.com/gbirke/rememberme".
2121

2222
## インストール
2323

@@ -50,7 +50,7 @@ bin/cake migrations migrate -p RememberMe
5050
## Authenticationプラグインでの使用方法
5151

5252
[cakephp/authentication](https://github.com/cakephp/authentication) を使用しているのであれば、
53-
`RememberMeTokenIdentifier``CookeAuthenticator` を使用してください。
53+
`RememberMeTokenIdentifier``CookieAuthenticator` を使用してください。
5454

5555
`Application``getAuthenticationService` フックで RememberMeプラグインの Identifier と Authenticator を呼び出す例です:
5656

@@ -135,7 +135,7 @@ default: `'remember_me_token'`
135135
]);
136136
```
137137

138-
### RememberMe.CookeAuthenticator のオプション
138+
### RememberMe.CookieAuthenticator のオプション
139139

140140
#### `loginUrl`
141141

@@ -223,7 +223,7 @@ default: `'RememberMe.RememberMeTokens'`
223223

224224
#### `always`
225225

226-
このオプションをtrueに設定すると、ログインCookieは認証が識別された後、常に発行されます
226+
このオプションをtrueに設定すると、認証が成功した後、常にログインCookieが発行されます
227227

228228
default: `false`
229229

@@ -235,7 +235,7 @@ default: `false`
235235

236236
#### `dropExpiredToken`
237237

238-
このオプションをtrueに設定すると、認証が識別された後に有効期限が切れたトークンを削除します
238+
このオプションをtrueに設定すると、認証が成功した後に有効期限が切れたトークンを削除します
239239

240240
default: `true`
241241

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
</a>
1616
</p>
1717

18-
This plugin provides an authenticate handler that permanent login by cookie. This plugin use method of issuing a token, instead of set to cookie encrypted username/password.
18+
This plugin provides an authentication handler that enables permanent login via cookie. This plugin uses a method of issuing a token instead of setting an encrypted username / password in a cookie.
1919

20-
This library inspired by Barry Jaspan's article "[Improved Persistent Login Cookie Best Practice](http://jaspan.com/improved_persistent_login_cookie_best_practice)", and Gabriel Birke's libray "https://github.com/gbirke/rememberme".
20+
This library is inspired by Barry Jaspan's article "[Improved Persistent Login Cookie Best Practice](http://jaspan.com/improved_persistent_login_cookie_best_practice)", and Gabriel Birke's library "https://github.com/gbirke/rememberme".
2121

2222
## Installation
2323

@@ -50,9 +50,9 @@ bin/cake migrations migrate -p RememberMe
5050
## Usage with Authentication plugin
5151

5252
If you're using [cakephp/authentication](https://github.com/cakephp/authentication),
53-
use `RememberMeTokenIdentifier` and `CookeAuthenticator`.
53+
use `RememberMeTokenIdentifier` and `CookieAuthenticator`.
5454

55-
Example load RememberMe's Identifier and Authenticator into the `getAuthenticationService` hook within `Application`:
55+
Example of loading RememberMe's Identifier and Authenticator into the `getAuthenticationService` hook within `Application`:
5656

5757
```php
5858
// in your src/Application.php
@@ -97,8 +97,8 @@ default: `['username' => 'username']`
9797

9898
#### `resolver`
9999

100-
The identity resolver. If change your Resolver,
101-
must extend `Authentication\Identifier\Resolver\OrmResolver`.
100+
The identity resolver. If you change your Resolver,
101+
it must extend `Authentication\Identifier\Resolver\OrmResolver`.
102102

103103
default: `'Authentication.Orm'`
104104

@@ -113,7 +113,7 @@ default: `'Authentication.Orm'`
113113

114114
#### `tokenStorageModel`
115115

116-
A model used for find login cookie tokens.
116+
A model used for finding login cookie tokens.
117117

118118
default: `'RememberMe.RememberMeTokens'`
119119

@@ -223,7 +223,7 @@ default: `'RememberMe.RememberMeTokens'`
223223

224224
#### `always`
225225

226-
When this option is set to true, a login cookie is always issued after authentication identified.
226+
When this option is set to true, a login cookie is always issued after successful authentication.
227227

228228
default: `false`
229229

@@ -235,7 +235,7 @@ default: `false`
235235

236236
#### `dropExpiredToken`
237237

238-
When this option is set to true, drop expired tokens after authentication identified.
238+
When this option is set to true, expired tokens are dropped after successful authentication.
239239

240240
default: `true`
241241

0 commit comments

Comments
 (0)