Implement new OIDC client AuthProvider

This commit handles:
     * Passing ID Token as Bearer token
     * Refreshing of tokens using refresh-tokens
     * Persisting refreshed tokens
     * ability to add arbitrary extra scopes via config
       * this is what enables the cross-client/azp stuff
This commit is contained in:
Bobby Rullo
2016-05-06 10:33:51 -07:00
parent 82bdf9051c
commit f2135bdf90
3 changed files with 199 additions and 0 deletions

View File

@@ -19,4 +19,5 @@ package plugins
import (
// Initialize all known client auth plugins.
_ "k8s.io/kubernetes/plugin/pkg/client/auth/gcp"
_ "k8s.io/kubernetes/plugin/pkg/client/auth/oidc"
)