idp

command
v0.0.0-...-3243bb8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: BSD-3-Clause Imports: 20 Imported by: 0

README

Example Identity Provider Service

This is a sample of an Identity Provider (IdP) service to offload Authentication (AuthN) and Authorization (AuthZ) decisions to a separate system.

Running

See the parent README.MD for instructions to run the example services together.

Endpoints

This example implements a RPC API using the Go standard library rpc package. The specification below is expressed in terms of gRPC:

package idp;

message Message {
    string RequestID = 1;
    string Value = 2;
}

message User {
    string Ident = 1;
    string Name = 2;
    string Pass = 3;
}

service Idp {
    rpc AuthenticateToken(Message) returns (string);
    rpc FindUser(Message) returns (User);
    rpc Healthcheck(string) returns (bool);
}

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