1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ユーザー認証とは

リクエストした相手がユーザーであることを確認すること

⚫︎ユーザー認証の方法
ユーザー認証の方法として2つがあります。

1 パスワード認証
2 OpenIDconnect

⚫︎参考資料
https://applis.io/posts/how-to-authenticate-user

ユーザー認証の種類

代表的なものだと主に3つあります。

1 JWT認証  JSON Web Token
お互いに情報のやり取りをする時、JSON形式にしたものです。
ジョットとよびます。本人かどうかを確認するときに使います。

2 cookieとsession
cookieとはサーバーなどにどこのpcから送られてきたのかを確認するためのものです。
sessionはクライアントもしくはbブラウザからサーバーに送るときの間の処理みたいなものです。

3 トークン認証
ワンタイムパスワードを生成する機能です。
スマートフォンまたは携帯電話をトークンとして利用するための手続きのことをトークン発行と言うみたいです。
わかりづらい文字列を作り、文字列が合っているか合っていないかを認証したりします。

⚫︎参考資料
https://saitoxu.io/2017/06/rails-spa-authentication
https://ponsuke-tarou.hatenablog.com/entry/2020/09/14/225825
https://www.ibm.com/docs/ja/sva/9.0.4?topic=servers-user-session-management-concepts

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?