This commit is contained in:
Livio Amstutz 2019-11-28 12:14:14 +01:00
parent 10d671956a
commit 80eeee2de2
19 changed files with 422 additions and 157 deletions

View file

@ -6,6 +6,13 @@ import (
"github.com/caos/oidc/pkg/oidc"
)
type Signer struct {
}
func (s *Signer) Sign(*oidc.IDTokenClaims) (string, error) {
return "sdsa", nil
}
type Storage struct {
}
@ -64,5 +71,5 @@ func (c *ConfClient) LoginURL(id string) string {
}
func (c *ConfClient) ApplicationType() oidc.ApplicationType {
return oidc.ApplicationTypeWeb
return oidc.ApplicationTypeNative
}