Skip to content

Commit

Permalink
chore: add doc back
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-yangy committed Oct 8, 2024
1 parent 5e7b471 commit c1d1b49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sample/Assets/Scripts/SelectAuthMethodScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public class SelectAuthMethodScript : MonoBehaviour
[SerializeField] private GameObject TopPadding;
[SerializeField] private Text Output;
[SerializeField] private Button UseDeviceCodeAuthButton;
[SerializeField] private Button UsePKCEButton;
[SerializeField] private Button UsePKCEButton;
#pragma warning restore CS8618


void Start()
{
// Determine if PKCE is supported based on the platform
Expand Down Expand Up @@ -72,6 +72,10 @@ public void UsePKCE()
/// <summary>
/// Initialises Passport.
/// </summary>
/// <param name="redirectUri">(Android, iOS and macOS only) The URL to which auth will redirect the browser after
/// authorisation has been granted by the user</param>
/// <param name="logoutRedirectUri">The URL to which auth will redirect the browser
/// after log out is complete</param>
private async void InitialisePassport(string redirectUri = null, string logoutRedirectUri = null)
{
ShowOutput("Initialising Passport...");
Expand Down

0 comments on commit c1d1b49

Please sign in to comment.