mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
docs: remove persistAccessToken
from go web docs (#1899)
This commit is contained in:
parent
6d7919f0bc
commit
f9879df7bd
2 changed files with 0 additions and 6 deletions
|
@ -165,7 +165,6 @@ func main() {
|
|||
Endpoint: "${props.endpoint}",
|
||||
AppId: "${props.appId}",
|
||||
AppSecret: "${props.appSecret}",
|
||||
PersistAccessToken: true,
|
||||
}
|
||||
|
||||
// ...
|
||||
|
@ -173,8 +172,6 @@ func main() {
|
|||
</code>
|
||||
</pre>
|
||||
|
||||
The `PersistAccessToken` config indicates whether the access token needs to be stored in the session.
|
||||
|
||||
### Init LogtoClient for each user request
|
||||
|
||||
```go
|
||||
|
|
|
@ -161,7 +161,6 @@ func main() {
|
|||
Endpoint: "${props.endpoint}",
|
||||
AppId: "${props.appId}",
|
||||
AppSecret: "${props.appSecret}",
|
||||
PersistAccessToken: true,
|
||||
}
|
||||
|
||||
// ...
|
||||
|
@ -169,8 +168,6 @@ func main() {
|
|||
</code>
|
||||
</pre>
|
||||
|
||||
其中 PersistAccessToken 表示是否需要把 access token 存储到 session 中。
|
||||
|
||||
### 为每个请求初始化 LogtoClient
|
||||
|
||||
```go
|
||||
|
|
Loading…
Reference in a new issue