logto_core library

Functions

fetchOidcConfig(Client httpClient, String endpoint) Future<OidcProviderConfig>
fetchTokenByAuthorizationCode({required Client httpClient, required String tokenEndPoint, required String code, required String codeVerifier, required String clientId, required String redirectUri, String? resource}) Future<LogtoCodeTokenResponse>
fetchTokenByRefreshToken({required Client httpClient, required String tokenEndPoint, required String clientId, required String refreshToken, String? resource, List<String>? scopes}) Future<LogtoRefreshTokenResponse>
fetchUserInfo({required Client httpClient, required String userInfoEndpoint, required String accessToken}) Future<LogtoUserInfoResponse>
generateSignInUri({required String authorizationEndpoint, required dynamic clientId, required String redirectUri, required String codeChallenge, required String state, List<String>? scopes, List<String>? resources, String prompt = _prompt}) Uri
generateSignOutUri({required String endSessionEndpoint, required String idToken, Uri? postLogoutRedirectUri}) Uri
revoke({required Client httpClient, required String revocationEndpoint, required String clientId, required String token}) Future<void>
verifyAndParseCodeFromCallbackUri(String callbackUri, String redirectUri, String state) String