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.
52 lines
1.5 KiB
52 lines
1.5 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 struct 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 <see langword="null" />.
|
|
/// </summary>
|
|
public Utf8String RefreshToken { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct DeletePersistentAuthOptionsInternal : ISettable<DeletePersistentAuthOptions>, 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);
|
|
}
|
|
}
|
|
}
|