Sites

Menu
These are the docs for 14.4, an old version of SpatialOS. 14.5 is the newest →

PlatformCredential Class

Namespace: Improbable.SpatialOS.Platform.Common

This is the abstract base class for SpatialOS platform credentials. Clients should use a concrete credential provider such as PlatformRefreshTokenCredential instead of trying to instantiate this class directly.

Inheritance

UserCredential


Constructors

PlatformCredential
PlatformCredential(IAuthorizationCodeFlow flow, string userId, TokenResponse token)

Parameters
  • IAuthorizationCodeFlow flow : The OAuth authorization flow.
  • string userId : The user ID string.
  • TokenResponse token : The OAuth token.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums