token

package
v0.0.0-...-72324ba Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2015 License: Apache-2.0 Imports: 23 Imported by: 0

README

アクセストークン発行機能

アクセストークンを発行する。 OpenID Connect Core 1.0 を参照のこと。

1. 動作仕様

  • リクエストに問題がある、または、要請元 TA に問題がある場合、
    • エラーを返す。
  • そうでなければ、認可コードと引き換えにアクセストークン等を発行する。

Documentation

Overview

トークンエンドポイント。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	stopper *server.Stopper,
	selfId string,
	sigAlg string,
	sigKid string,
	pathTok string,
	pwSaltLen int,
	tokLen int,
	tokExpIn time.Duration,
	tokDbExpIn time.Duration,
	jtiExpIn time.Duration,
	keyDb keydb.Db,
	acntDb account.Db,
	taDb tadb.Db,
	sectDb sector.Db,
	pwDb pairwise.Db,
	codDb authcode.Db,
	tokDb token.Db,
	jtiDb jtidb.Db,
	idGen rand.Generator,
	debug bool,
) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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