Interface EventProcessorHost.EventProcessorHostBuilder.AADAuthStep
-
- Enclosing class:
- EventProcessorHost.EventProcessorHostBuilder
public static interface EventProcessorHost.EventProcessorHostBuilder.AADAuthStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventProcessorHost.EventProcessorHostBuilder.OptionalStep
useAuthenticationCallback(AzureActiveDirectoryTokenProvider.AuthenticationCallback authCallback, String authority)
Provide a callback which will be called when a token is needed.EventProcessorHost.EventProcessorHostBuilder.OptionalStep
useTokenProvider(ITokenProvider tokenProvider)
Provide a user-implemented token provider which will be called when a token is needed.
-
-
-
Method Detail
-
useAuthenticationCallback
EventProcessorHost.EventProcessorHostBuilder.OptionalStep useAuthenticationCallback(AzureActiveDirectoryTokenProvider.AuthenticationCallback authCallback, String authority)
Provide a callback which will be called when a token is needed. SeeAzureActiveDirectoryTokenProvider
- Parameters:
authCallback
- the callbackauthority
- AAD authority string which will be passed to the callback. Used for national cloud support.- Returns:
- interface for setting optional values
-
useTokenProvider
EventProcessorHost.EventProcessorHostBuilder.OptionalStep useTokenProvider(ITokenProvider tokenProvider)
Provide a user-implemented token provider which will be called when a token is needed.- Parameters:
tokenProvider
- user implementation of ITokenProvider- Returns:
- interface for setting optional values
-
-