account-manager

command module
v0.0.0-...-dcec341 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2021 License: MIT Imports: 5 Imported by: 0

README

Account Manager

アカウント操作をするAppです。

  • アカウント作成
  • アカウント削除
  • 認証

を行います。

環境変数

GOOGLE_CLIENT_ID=******
GOOGLE_CLIENT_SECRET=*****
SEED=*****
TOKEN_MANAGER="token-manager"
USER_DATA_STATE="user-data-state"
USER_EMAIL_STATE="user-email-state"
REFRESH_TOKEN_STATE="login-token-state"
API_URL="https://api.hello-slide.jp"

Paths

  • /account/login
    • ログイン
  • /account/login/redirect
    • Google OAuthのリダイレクト先
  • /account/update
    • リフレッシュトークンを使用したセッショントークンの更新
    • ?redirect=/hogeでリダイレクト指定可能
  • /account/logout
    • ログアウト。ユーザ情報は保持します。
  • /account/delete
    • アカウント削除。ユーザ情報も削除されます。

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL