VenlyAPI.Companion.PlayFab-Azure
3.1.0
dotnet add package VenlyAPI.Companion.PlayFab-Azure --version 3.1.0
NuGet\Install-Package VenlyAPI.Companion.PlayFab-Azure -Version 3.1.0
<PackageReference Include="VenlyAPI.Companion.PlayFab-Azure" Version="3.1.0" />
<PackageVersion Include="VenlyAPI.Companion.PlayFab-Azure" Version="3.1.0" />
<PackageReference Include="VenlyAPI.Companion.PlayFab-Azure" />
paket add VenlyAPI.Companion.PlayFab-Azure --version 3.1.0
#r "nuget: VenlyAPI.Companion.PlayFab-Azure, 3.1.0"
#:package VenlyAPI.Companion.PlayFab-Azure@3.1.0
#addin nuget:?package=VenlyAPI.Companion.PlayFab-Azure&version=3.1.0
#tool nuget:?package=VenlyAPI.Companion.PlayFab-Azure&version=3.1.0
Venly Companion for PlayFab (Azure Functions)
The Venly Companion for PlayFab provides server-side helpers and extension routes to create and manage Venly users and wallets from a PlayFab Azure Function. It persists the minimal identifiers and PIN (for PIN signing) in PlayFab Internal User Data so subsequent calls can be authorized automatically.
Install
- NuGet (Azure Functions project):
- Package Manager:
Install-Package <PackageId> - .NET CLI:
dotnet add package <PackageId>
- Package Manager:
Replace <PackageId> with the published NuGet ID for this package.
Configure (Environment Variables)
Set these App Settings (Environment Variables) on your Azure Function App:
VENLY_CLIENT_ID: Venly Client IdVENLY_CLIENT_SECRET_STAGING: Venly Client Secret for SandboxVENLY_CLIENT_SECRET_PRODUCTION: Venly Client Secret for ProductionVENLY_ENVIRONMENT:sandboxorproductionPLAYFAB_DEV_SECRET_KEY: PlayFab Developer Secret Key
These are consumed during startup to configure the Venly API and PlayFab SDK.
Available Routes
Routes are exposed via VyExtensionRoute and handled by the function extension handlers:
has_user: Returns whether a Venly user id is linkedcreate_user: Creates a Venly sub-user and stores its id (and PIN if PIN signing is used)get_user: Retrieves the linked Venly useruser_has_wallet: Returns whether a wallet id is linkedcreate_wallet: Creates a wallet for the linked Venly user; requires that a user exists. If PIN signing was used at user creation, the stored PIN is used to buildVyUserAuthautomaticallyget_wallet: Retrieves the linked wallet
All routes return a VyServerResponseDto payload.
Integration Notes
- These packages are used alongside Venly's Unity/Unreal Gaming SDKs to automatically provide PlayFab (Azure Functions) backend support out of the box.
- They act as helper relays to forward calls originating from your Unity/Unreal clients; no additional client-side examples are required here.
Notes
- Never expose the PIN to clients; it is stored in PlayFab Internal Data and only used server-side to create
VyUserAuth. - Environments are
sandboxorproduction. Older versions usedstagingto refer to the Sandbox environment.
VenlySDK for PlayFab-Azure Backend
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Mvc.Formatters.Json (>= 2.1.0)
- Newtonsoft.Json (>= 13.0.2)
- PlayFabAllSDK (>= 1.141.221107)
- VenlyAPI.Core (>= 3.1.0)
-
net6.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Mvc.Formatters.Json (>= 2.1.0)
- Newtonsoft.Json (>= 13.0.2)
- PlayFabAllSDK (>= 1.141.221107)
- VenlyAPI.Core (>= 3.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.