You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Auth
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="AuthInterface.DeletePersistentAuth" /> function.
|
|
/// </summary>
|
|
public class DeletePersistentAuthOptions
|
|
{
|
|
/// <summary>
|
|
/// A long-lived refresh token that is used with the <see cref="LoginCredentialType.PersistentAuth" /> 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 NULL.
|
|
/// </summary>
|
|
public string 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 string RefreshToken
|
|
{
|
|
set
|
|
{
|
|
Helper.TryMarshalSet(ref m_RefreshToken, value);
|
|
}
|
|
}
|
|
|
|
public void Set(DeletePersistentAuthOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = AuthInterface.DeletepersistentauthApiLatest;
|
|
RefreshToken = other.RefreshToken;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as DeletePersistentAuthOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_RefreshToken);
|
|
}
|
|
}
|
|
}
|