idp

package
v0.0.0-...-0ba3bd2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2015 License: Apache-2.0 Imports: 9 Imported by: 1

README

ID プロバイダ情報提供機能

UI 用に ID プロバイダ情報を提供する。

1. 動作仕様

1.1. ID プロバイダ列挙エンドポイント

ID プロバイダ情報を列挙する。 クエリで絞り込める。 クエリは以下の形式の連言として用いる。

<タグ名>=<該当する値の正規表現>

レスポンスは OpenID Connect Discovery 1.0 Section 4.2 形式の ID プロバイダ情報の JSON 配列である。 ただし、全ての情報が返されるわけではない。

1.1.1. リクエスト例
GET /api/info/issuer?issuer=%5C.example%5C.org%24
Host: selector.example.org
1.1.2. レスポンス例
HTTP/1.1 200 OK
Content-Type: application/json

[
    {
        "issuer": "https://idp.example.org",
        "issuer_name#ja": "どっかの IdP",
        ...
    },
    ...
]

省略あり。

1.2. エラーレスポンス

エラーは OAuth 2.0 Section 5.2 の形式で返す。

Documentation

Overview

ID プロバイダ情報を返す API。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	stopper *server.Stopper,
	db idpdb.Db,
	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