// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Auth
{
///
/// Input parameters for the function.
///
public struct DeletePersistentAuthOptions
{
///
/// A long-lived refresh token that is used with the login type and is to be revoked from the authentication server. Only used on Console platforms.
/// On Desktop and Mobile platforms, set this parameter to .
///
public Utf8String RefreshToken { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct DeletePersistentAuthOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_RefreshToken;
public Utf8String RefreshToken
{
set
{
Helper.Set(value, ref m_RefreshToken);
}
}
public void Set(ref DeletePersistentAuthOptions other)
{
m_ApiVersion = AuthInterface.DeletepersistentauthApiLatest;
RefreshToken = other.RefreshToken;
}
public void Set(ref DeletePersistentAuthOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = AuthInterface.DeletepersistentauthApiLatest;
RefreshToken = other.Value.RefreshToken;
}
}
public void Dispose()
{
Helper.Dispose(ref m_RefreshToken);
}
}
}