Class AuthMessageProvider
java.lang.Object
com.sportradar.livedata.sdk.proto.livescout.auth.AuthMessageProvider
- Direct Known Subclasses:
- CredentialsAuthMessageProvider,- TokenAuthMessageProvider
Represents a class used to build authentication lifecycle requests to be sent to the betradar feed.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final LiveScoutOutgoingMessageFactoryprotected final AuthSettings
- 
Constructor SummaryConstructorsConstructorDescriptionAuthMessageProvider(LiveScoutOutgoingMessageFactory factory, AuthSettings authSettings) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract OutgoingMessageConstructs and returns aOutgoingMessagerepresenting a log-in request.Constructs and returns aOutgoingMessagerepresenting a log-out request.
- 
Field Details- 
factory
- 
settings
 
- 
- 
Constructor Details- 
AuthMessageProvider- Parameters:
- factory- The factory used to build requests send to the feed
- authSettings- The- AuthSettingsinstance containing the application's settings concerning the authentication
 
 
- 
- 
Method Details- 
buildLoginRequestConstructs and returns aOutgoingMessagerepresenting a log-in request.- Returns:
- a OutgoingMessagerepresenting a log-in request.
 
- 
buildLogOutRequestConstructs and returns aOutgoingMessagerepresenting a log-out request.- Returns:
- a OutgoingMessagerepresenting a log-out request or a null reference if protocol associate with the current factory does not support log-out
 
 
-