public class AgoraTokenProvider extends Object implements TokenProvider
构造器和说明 |
---|
AgoraTokenProvider(EMProperties properties,
reactor.netty.http.client.HttpClient httpClient,
EndpointRegistry endpointRegistry,
LoadBalancer loadBalancer,
Codec codec,
ErrorMapper errorMapper) |
限定符和类型 | 方法和说明 |
---|---|
static reactor.core.publisher.Mono<Token> |
exchangeForEasemobToken(reactor.netty.http.client.HttpClient httpClient,
String baseUrl,
reactor.core.publisher.Mono<String> agoraToken,
Codec codec,
ErrorMapper errorMapper) |
reactor.core.publisher.Mono<Token> |
fetchAppToken() |
public AgoraTokenProvider(EMProperties properties, reactor.netty.http.client.HttpClient httpClient, EndpointRegistry endpointRegistry, LoadBalancer loadBalancer, Codec codec, ErrorMapper errorMapper)
public static reactor.core.publisher.Mono<Token> exchangeForEasemobToken(reactor.netty.http.client.HttpClient httpClient, String baseUrl, reactor.core.publisher.Mono<String> agoraToken, Codec codec, ErrorMapper errorMapper)
public reactor.core.publisher.Mono<Token> fetchAppToken()
fetchAppToken
在接口中 TokenProvider
Copyright © 2024. All rights reserved.