-
- All Implemented Interfaces:
-
com.brightcove.player.edge.Authorizer
public final class BrightcoveTokenAuthorizer implements Authorizer
The class responsible to configure a Video with a Brightcove aiuthorization token.
-
-
Constructor Summary
Constructors Constructor Description BrightcoveTokenAuthorizer()
Instantiates a new Brightcove Token Authorizer.
-
Method Summary
Modifier and Type Method Description Video
configure(@NonNull() Video video, @NonNull() String brightcoveAuthorizationToken)
Configures the video with the Authorization Token.The configuration depends on the kind of sources the video contains.Please refer to Brightcove Support documentation for more information. String
findAuthorizationToken(@NonNull() Video video)
Attempts to find the Authorization Token string configured in the Video. -
-
Method Detail
-
configure
@NonNull() Video configure(@NonNull() Video video, @NonNull() String brightcoveAuthorizationToken)
Configures the video with the Authorization Token.The configuration depends on the kind of sources the video contains.Please refer to Brightcove Support documentation for more information.
- Parameters:
video
- the video
-
findAuthorizationToken
@Nullable() String findAuthorizationToken(@NonNull() Video video)
Attempts to find the Authorization Token string configured in the Video.
- Parameters:
video
- the video
-
-
-
-