Package com.stytch.sdk.b2b.sso
Interface SSO.OIDC
-
- All Implemented Interfaces:
public interface SSO.OIDCThe OIDC interface provides methods for creating and updating an OIDC connection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSSO.OIDC.CreateParametersData class used for wrapping the parameters for an OIDC creation request
public final classSSO.OIDC.UpdateParametersData class used for wrapping the parameters for an OIDC update request
-
Method Summary
Modifier and Type Method Description abstract StytchResult<B2BSSOOIDCCreateConnectionResponseData>createConnection(SSO.OIDC.CreateParameters parameters)Create a new OIDC Connection. abstract UnitcreateConnection(SSO.OIDC.CreateParameters parameters, Function1<StytchResult<B2BSSOOIDCCreateConnectionResponseData>, Unit> callback)Create a new OIDC Connection. abstract CompletableFuture<StytchResult<B2BSSOOIDCCreateConnectionResponseData>>createConnectionCompletable(SSO.OIDC.CreateParameters parameters)Create a new OIDC Connection. abstract StytchResult<B2BSSOOIDCUpdateConnectionResponseData>updateConnection(SSO.OIDC.UpdateParameters parameters)Update an OIDC Connection. abstract UnitupdateConnection(SSO.OIDC.UpdateParameters parameters, Function1<StytchResult<B2BSSOOIDCUpdateConnectionResponseData>, Unit> callback)Update an OIDC Connection. abstract CompletableFuture<StytchResult<B2BSSOOIDCUpdateConnectionResponseData>>updateConnectionCompletable(SSO.OIDC.UpdateParameters parameters)Update an OIDC Connection. -
-
Method Detail
-
createConnection
abstract StytchResult<B2BSSOOIDCCreateConnectionResponseData> createConnection(SSO.OIDC.CreateParameters parameters)
Create a new OIDC Connection.
- Parameters:
parameters- The parameters required to create a new OIDC connection- Returns:
B2BSSOOIDCCreateConnectionResponse
-
createConnection
abstract Unit createConnection(SSO.OIDC.CreateParameters parameters, Function1<StytchResult<B2BSSOOIDCCreateConnectionResponseData>, Unit> callback)
Create a new OIDC Connection.
- Parameters:
parameters- The parameters required to create a new OIDC connectioncallback- a callback that receives a B2BSSOOIDCCreateConnectionResponse
-
createConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSSOOIDCCreateConnectionResponseData>> createConnectionCompletable(SSO.OIDC.CreateParameters parameters)
Create a new OIDC Connection.
- Parameters:
parameters- The parameters required to create a new OIDC connection- Returns:
B2BSSOOIDCCreateConnectionResponse
-
updateConnection
abstract StytchResult<B2BSSOOIDCUpdateConnectionResponseData> updateConnection(SSO.OIDC.UpdateParameters parameters)
Update an OIDC Connection.
- Parameters:
parameters- The parameters required to update an OIDC connection- Returns:
B2BSSOOIDCUpdateConnectionResponse
-
updateConnection
abstract Unit updateConnection(SSO.OIDC.UpdateParameters parameters, Function1<StytchResult<B2BSSOOIDCUpdateConnectionResponseData>, Unit> callback)
Update an OIDC Connection.
- Parameters:
parameters- The parameters required to update an OIDC connectioncallback- a callback that receives a B2BSSOOIDCUpdateConnectionResponse
-
updateConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSSOOIDCUpdateConnectionResponseData>> updateConnectionCompletable(SSO.OIDC.UpdateParameters parameters)
Update an OIDC Connection.
- Parameters:
parameters- The parameters required to update an OIDC connection- Returns:
B2BSSOOIDCUpdateConnectionResponse
-
-
-
-