Uses of Record Class
com.tnsai.mcp.auth.PkceFlow.TokenResponse
Packages that use PkceFlow.TokenResponse
-
Uses of PkceFlow.TokenResponse in com.tnsai.mcp.auth
Methods in com.tnsai.mcp.auth that return PkceFlow.TokenResponseModifier and TypeMethodDescriptionstatic PkceFlow.TokenResponsePkceFlow.exchangeCode(String tokenEndpoint, String clientId, String code, String redirectUri, String codeVerifier) Exchanges an authorization code for tokens using the PKCE code verifier.static PkceFlow.TokenResponsePkceFlow.refreshToken(String tokenEndpoint, String clientId, String refreshToken) Refreshes an access token using a refresh token.Methods in com.tnsai.mcp.auth that return types with arguments of type PkceFlow.TokenResponseModifier and TypeMethodDescriptionGets the stored token for a server URL without validation or refresh.McpTokenManager.getValidToken(String serverUrl, String tokenEndpoint, String clientId) Gets a valid token for a server, auto-refreshing if the token is expiring soon.Methods in com.tnsai.mcp.auth with parameters of type PkceFlow.TokenResponseModifier and TypeMethodDescriptionvoidMcpTokenManager.storeToken(String serverUrl, PkceFlow.TokenResponse token) Stores a token for a given server URL.