- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 250 for Authenticators (0.29 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package authenticator import ( "context" "errors" "fmt" "reflect" "testing" "github.com/google/go-cmp/cmp" "k8s.io/apiserver/pkg/authentication/user" ) func TestAuthenticate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 4.9K bytes - Viewed (0) -
docs/works_with_okhttp.md
* [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp. * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Jun 08 18:15:23 UTC 2022 - 3.8K bytes - Viewed (0) -
pkg/security/mock.go
} func (f *FakeAuthenticator) Set(token string, identity string) *FakeAuthenticator { f.mu.Lock() defer f.mu.Unlock() f.AllowedToken = token f.AllowedCert = identity return f } var _ Authenticator = &FakeAuthenticator{} func checkToken(ctx context.Context, expected string) error { if expected == "" { return fmt.Errorf("jwt authentication not allowed") } targetJWT, err := ExtractBearerToken(ctx)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.5K bytes - Viewed (0) -
cmd/jwt_test.go
claims.SetExpiry(UTCNow().Add(defaultJWTExpiry)) claims.SetAccessKey(accessKey) token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims) return token.SignedString([]byte(secretKey)) } // Tests web request authenticator. func TestWebRequestAuthenticate(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 16:45:14 UTC 2024 - 4.5K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go
kubeClient kubernetes.Interface // Primary cluster ID clusterID cluster.ID // remote cluster kubeClient getter remoteKubeClientGetter RemoteKubeClientGetter } var _ security.Authenticator = &KubeJWTAuthenticator{} // NewKubeJWTAuthenticator creates a new kubeJWTAuthenticator. func NewKubeJWTAuthenticator( meshHolder mesh.Holder, client kubernetes.Interface, clusterID cluster.ID,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5K bytes - Viewed (0) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient.Builder() .authenticator(object : Authenticator { @Throws(IOException::class) override fun authenticate(route: Route?, response: Response): Request? { if (response.request.header("Authorization") != null) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
*/ package jcifs.smb1.http; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.IOException; import java.io.OutputStream; import java.net.Authenticator; import java.net.HttpURLConnection; import java.net.PasswordAuthentication; import java.net.ProtocolException; import java.net.URL; import java.net.URLDecoder; import java.security.Permission;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 20.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
var taskRunner: TaskRunner = taskFaker.taskRunner var dns: Dns = Dns.SYSTEM var proxy: Proxy = Proxy.NO_PROXY var proxySelector: ProxySelector = RecordingProxySelector() var proxyAuthenticator: Authenticator = RecordingOkAuthenticator("password", null) var connectionSpecs: List<ConnectionSpec> = listOf( ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS, ConnectionSpec.CLEARTEXT, )
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
defer ts.Close() // Make the certificate of the helper server available to the authenticator caBundle := pem.EncodeToMemory(&pem.Block{ Type: "CERTIFICATE", Bytes: ts.Certificate().Raw, }) caContent, err := dynamiccertificates.NewStaticCAContent("oidc-authenticator", caBundle) if err != nil { t.Fatalf("initialize ca: %v", err) } c.options.CAContentProvider = caContent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
flagset.StringVar(&o.AuthPluginName, "auth-plugin-name", o.AuthPluginName, fmt.Sprintf("Authenticator plug-in name. --auth-type=%v must be set with this option", RemoteSecretAuthTypePlugin)) flagset.StringToString("auth-plugin-config", o.AuthPluginConfig, fmt.Sprintf("Authenticator plug-in configuration. --auth-type=%v must be set with this option", RemoteSecretAuthTypePlugin)) flagset.Var(&o.Type, "type",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 01:43:17 UTC 2023 - 24K bytes - Viewed (0)