Documentation

Page contents

Updated

Generate PDF from page.

Authentication WordPress Service Behavior

Files: CGFAuthenticationWordpressServiceBehavior.cs

Path: "CGF/Systems/Authentication"

Description

Controller for managing authentication requests against WordPress.

Reference

  • Admin Password – WordPress admin password used to authorize user registration.
  • Admin Username – WordPress admin username used to authorize user registration.
  • Base URL – WordPress base URL used by the authentication service. It should be the URL of the WordPress site without the trailing slash.
  • Registration Roles List – WordPress roles assigned to the user upon registration. This is used in the registration request to assign the specified roles to the new user.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.