command
Version:
v0.0.0-...-3243bb8
Opens a new window with list of versions in this module.
Published: Jan 30, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.