Class UofClientAuthenticationImpl.PrivateKeyJwtImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.cfg.UofClientAuthenticationImpl.PrivateKeyJwtImpl
- All Implemented Interfaces:
UofClientAuthentication.PrivateKeyJwt
- Enclosing class:
- UofClientAuthenticationImpl
public static class UofClientAuthenticationImpl.PrivateKeyJwtImpl
extends Object
implements UofClientAuthentication.PrivateKeyJwt
-
Method Summary
Modifier and TypeMethodDescriptionGets the client identifier for JWT authentication.getHost()Gets the host of the authentication server.intgetPort()Gets the port number for the authentication server connection.Gets the private key used for JWT signing.Gets the signing key identifier used for JWT signing.Gets the tenant for the authentication server.booleanGets the SSL usage setting for client authentication server communication.voidvoidsetPort(int port) voidvoidsetUseSsl(boolean useSsl) toString()
-
Method Details
-
create
public static UofClientAuthenticationImpl.PrivateKeyJwtImpl create(UofClientAuthentication.PrivateKeyJwtData data) -
getSigningKeyId
Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the signing key identifier used for JWT signing.- Specified by:
getSigningKeyIdin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
- the signing key identifier, never null
-
getClientId
Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the client identifier for JWT authentication.- Specified by:
getClientIdin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
- the client identifier, never null
-
getPrivateKey
Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the private key used for JWT signing.- Specified by:
getPrivateKeyin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
- the private key for JWT signing, never null
-
setPort
public void setPort(int port) -
getPort
public int getPort()Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the port number for the authentication server connection.- Specified by:
getPortin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
- the authentication server port number
-
setHost
-
getHost
Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the host of the authentication server.- Specified by:
getHostin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
- the authentication server hostname, never null
-
setTenant
-
getTenant
Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the tenant for the authentication server.- Specified by:
getTenantin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
- the authentication server tenant, never null
-
getUseSsl
public boolean getUseSsl()Description copied from interface:UofClientAuthentication.PrivateKeyJwtGets the SSL usage setting for client authentication server communication.- Specified by:
getUseSslin interfaceUofClientAuthentication.PrivateKeyJwt- Returns:
trueif SSL is used for client authentication communication,falseif HTTP is used instead
-
setUseSsl
public void setUseSsl(boolean useSsl) -
toString
-