Show / Hide Table of Contents

Class ApiTokenSettings

Inheritance
object
ApiTokenSettings
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.Api.Auth.ApiTokens
Assembly: DotNetNuke.Web.dll
Syntax
public class ApiTokenSettings

Constructors

ApiTokenSettings()

Declaration
public ApiTokenSettings()

Properties

AllowApiTokens

Declaration
public bool AllowApiTokens { get; set; }
Property Value
Type Description
bool

ApiTokensEnabled

Declaration
public bool ApiTokensEnabled { get; }
Property Value
Type Description
bool

MaximumSiteTimespan

Declaration
public ApiTokenTimespan MaximumSiteTimespan { get; set; }
Property Value
Type Description
ApiTokenTimespan

UserTokenTimespan

Declaration
public ApiTokenTimespan UserTokenTimespan { get; set; }
Property Value
Type Description
ApiTokenTimespan

Methods

GetSettings(int)

Declaration
public static ApiTokenSettings GetSettings(int portalId)
Parameters
Type Name Description
int portalId
Returns
Type Description
ApiTokenSettings

SaveSettings(int)

Declaration
public void SaveSettings(int portalId)
Parameters
Type Name Description
int portalId

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS