Package dev.sigstore.oidc.client
Class WebOidcClient.Builder
- java.lang.Object
-
- dev.sigstore.oidc.client.WebOidcClient.Builder
-
- Enclosing class:
- WebOidcClient
public static class WebOidcClient.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebOidcClientbuild()WebOidcClient.BuildersetBrowser(WebOidcClient.BrowserHandler browserHandler)Alternative to default browser behavior, only use if you truly need to open with some sort of custom browser, like in test or headless environments.WebOidcClient.BuildersetClientId(java.lang.String clientId)The client id used in the oidc request, defaults to "sigstore".WebOidcClient.BuildersetHttpParams(HttpParams httpParams)Configure the http properties, seeHttpParamsWebOidcClient.BuildersetIssuer(java.lang.String issuer)The issuer of the oidc tokens (the oidc service) "https://oauth2.sigstore.dev/auth".
-
-
-
Method Detail
-
setHttpParams
public WebOidcClient.Builder setHttpParams(HttpParams httpParams)
Configure the http properties, seeHttpParams
-
setClientId
public WebOidcClient.Builder setClientId(java.lang.String clientId)
The client id used in the oidc request, defaults to "sigstore".
-
setIssuer
public WebOidcClient.Builder setIssuer(java.lang.String issuer)
The issuer of the oidc tokens (the oidc service) "https://oauth2.sigstore.dev/auth".
-
setBrowser
public WebOidcClient.Builder setBrowser(WebOidcClient.BrowserHandler browserHandler)
Alternative to default browser behavior, only use if you truly need to open with some sort of custom browser, like in test or headless environments.
-
build
public WebOidcClient build()
-
-