PassportIdentity.AuthUrlとは? わかりやすく解説

PassportIdentity.AuthUrl メソッド ()

メンバの Login サーバーの URL を含む文字列に、クエリ文字列内の Login サーバーに送られたオプションの情報を含めて返します。

名前空間: System.Web.Security
アセンブリ: System.Web (system.web.dll 内)
構文構文

解説解説

詳細については、MSDN ライブラリ http://msdn.microsoft.com/library/ja) で Passport SDK に関するドキュメントの IPassportManager.AuthUrl の説明を参照してください。

使用例使用例
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity
 = New System.Web.Security.PassportIdentity()
' Declare and set myURL variable = the URL of the appropriate Passport
 SignIn/SignOut Authority.
Dim myURL As String = newPass.AuthUrl()
// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Declare and set myURL variable = the URL of the appropriate Passport
 SignIn/SignOut Authority.
string myURL = newPass.AuthUrl();
// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = 
    new System.Web.Security.PassportIdentity();
// Declare and set myURL variable = the URL of the appropriate Passport
 
// SignIn/SignOut Authority.
String myURL = newPass.AuthUrl();
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PassportIdentity クラス
PassportIdentity メンバ
System.Web.Security 名前空間

PassportIdentity.AuthUrl メソッド (String)

メンバの Login サーバーの URL を含む文字列に、クエリ文字列内の Login サーバーに送られたオプションの情報も含めて返します。

名前空間: System.Web.Security
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Function AuthUrl ( _
    strReturnUrl As String _
) As String
Dim instance As PassportIdentity
Dim strReturnUrl As String
Dim returnValue As String

returnValue = instance.AuthUrl(strReturnUrl)
public string AuthUrl (
    string strReturnUrl
)
public:
String^ AuthUrl (
    String^ strReturnUrl
)
public String AuthUrl (
    String strReturnUrl
)
public function AuthUrl (
    strReturnUrl : String
) : String

パラメータ

strReturnUrl

ログオン完了後に Login サーバーがリダイレクトする場所を示す URL。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

戻り値
メンバの Login サーバーの URL、およびクエリ文字列内の Login サーバーに送られたオプションの情報。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PassportIdentity クラス
PassportIdentity メンバ
System.Web.Security 名前空間

PassportIdentity.AuthUrl メソッド (String, Int32, Int32, String, Int32, String, Int32, Int32)

メンバの Login サーバーの URL を含む文字列に、クエリ文字列内の Login サーバーに送られたオプションの情報も含めて返します。

名前空間: System.Web.Security
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Function AuthUrl ( _
    strReturnUrl As String, _
    iTimeWindow As Integer, _
    iForceLogin As Integer, _
    strCoBrandedArgs As String, _
    iLangID As Integer, _
    strNameSpace As String, _
    iKPP As Integer, _
    iUseSecureAuth As Integer _
) As String
Dim instance As PassportIdentity
Dim strReturnUrl As String
Dim iTimeWindow As Integer
Dim iForceLogin As Integer
Dim strCoBrandedArgs As String
Dim iLangID As Integer
Dim strNameSpace As String
Dim iKPP As Integer
Dim iUseSecureAuth As Integer
Dim returnValue As String

returnValue = instance.AuthUrl(strReturnUrl, iTimeWindow, iForceLogin, strCoBrandedArgs,
 iLangID, strNameSpace, iKPP, iUseSecureAuth)
public string AuthUrl (
    string strReturnUrl,
    int iTimeWindow,
    int iForceLogin,
    string strCoBrandedArgs,
    int iLangID,
    string strNameSpace,
    int iKPP,
    int iUseSecureAuth
)
public:
String^ AuthUrl (
    String^ strReturnUrl, 
    int iTimeWindow, 
    int iForceLogin, 
    String^ strCoBrandedArgs, 
    int iLangID, 
    String^ strNameSpace, 
    int iKPP, 
    int iUseSecureAuth
)
public String AuthUrl (
    String strReturnUrl, 
    int iTimeWindow, 
    int iForceLogin, 
    String strCoBrandedArgs, 
    int iLangID, 
    String strNameSpace, 
    int iKPP, 
    int iUseSecureAuth
)
public function AuthUrl (
    strReturnUrl : String, 
    iTimeWindow : int, 
    iForceLogin : int, 
    strCoBrandedArgs : String, 
    iLangID : int, 
    strNameSpace : String, 
    iKPP : int, 
    iUseSecureAuth : int
) : String

パラメータ

strReturnUrl

ログオン完了後に Login サーバーがリダイレクトする場所を示す URL を設定します。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

iTimeWindow

メンバが最後にログオンした間隔を指定します。Passport に既定値を使用する場合、-1 を渡します。

iForceLogin

iTimeWindow パラメータの使用方法を決定します。Passport に既定値を使用する場合、-1 を渡します。

strCoBrandedArgs

参加要素の初期登録時に指定されたコブランディング テンプレート スクリプト ページの URL に追加される変数を指定します。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

iLangID

要求されたドメイン権限ページの表示に使用する言語を指定します。Passport に既定値を使用する場合、-1 を渡します。

strNameSpace

Passport の作成先のドメインを指定します。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

iKPP

児童オンライン プライバシー保護法 (COPPA: Children's Online Privacy Protection Act) に準拠する、データ コレクション ポリシーを指定します。Passport に既定値を使用する場合、-1 を渡します。

iUseSecureAuth

実際のログイン UI が、Passport ドメイン権限から HTTPS を提供されるかどうかを宣言します。Passport に既定値を使用する場合、-1 を渡します。

戻り値
メンバの Login サーバーの URL、およびクエリ文字列内の Login サーバーに送られたオプションの情報。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PassportIdentity クラス
PassportIdentity メンバ
System.Web.Security 名前空間

PassportIdentity.AuthUrl メソッド (String, Int32, Boolean, String, Int32, String, Int32, Boolean)

メンバの認証サーバーの URL を返します。

名前空間: System.Web.Security
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Function AuthUrl ( _
    strReturnUrl As String, _
    iTimeWindow As Integer, _
    fForceLogin As Boolean, _
    strCoBrandedArgs As String, _
    iLangID As Integer, _
    strNameSpace As String, _
    iKPP As Integer, _
    bUseSecureAuth As Boolean _
) As String
Dim instance As PassportIdentity
Dim strReturnUrl As String
Dim iTimeWindow As Integer
Dim fForceLogin As Boolean
Dim strCoBrandedArgs As String
Dim iLangID As Integer
Dim strNameSpace As String
Dim iKPP As Integer
Dim bUseSecureAuth As Boolean
Dim returnValue As String

returnValue = instance.AuthUrl(strReturnUrl, iTimeWindow, fForceLogin, strCoBrandedArgs,
 iLangID, strNameSpace, iKPP, bUseSecureAuth)
public string AuthUrl (
    string strReturnUrl,
    int iTimeWindow,
    bool fForceLogin,
    string strCoBrandedArgs,
    int iLangID,
    string strNameSpace,
    int iKPP,
    bool bUseSecureAuth
)
public:
String^ AuthUrl (
    String^ strReturnUrl, 
    int iTimeWindow, 
    bool fForceLogin, 
    String^ strCoBrandedArgs, 
    int iLangID, 
    String^ strNameSpace, 
    int iKPP, 
    bool bUseSecureAuth
)
public String AuthUrl (
    String strReturnUrl, 
    int iTimeWindow, 
    boolean fForceLogin, 
    String strCoBrandedArgs, 
    int iLangID, 
    String strNameSpace, 
    int iKPP, 
    boolean bUseSecureAuth
)
public function AuthUrl (
    strReturnUrl : String, 
    iTimeWindow : int, 
    fForceLogin : boolean, 
    strCoBrandedArgs : String, 
    iLangID : int, 
    strNameSpace : String, 
    iKPP : int, 
    bUseSecureAuth : boolean
) : String

パラメータ

strReturnUrl

ログオン完了後に Login サーバーがリダイレクトする場所を示す URL を設定します。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

iTimeWindow

メンバが最後にログオンした間隔を指定します。Passport に既定値を使用する場合、-1 を渡します。

fForceLogin

iTimeWindow パラメータの使用方法を決定します。Passport に既定値を使用する場合、-1 を渡します。

strCoBrandedArgs

参加要素の初期登録時に指定されたコブランディング テンプレート スクリプト ページの URL に追加される変数を指定します。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

iLangID

要求されたドメイン権限ページの表示に使用する言語を指定します。Passport に既定値を使用する場合、-1 を渡します。

strNameSpace

Passport の作成先のドメインを指定します。Passport に既定値を使用する場合、null 参照 (Visual Basic では Nothing) を渡します。

iKPP

児童オンライン プライバシー保護法 (COPPA: Children's Online Privacy Protection Act) に準拠する、データ コレクション ポリシーを指定します。Passport に既定値を使用する場合、-1 を渡します。

bUseSecureAuth

実際のログオン UI が、Passport ドメイン権限から HTTPS を提供するかどうかを宣言します。Passport に既定値を使用する場合、-1 を渡します。

戻り値
メンバの Login サーバーの URL、およびクエリ文字列内の Login サーバーに送られたオプションの情報。

解説解説

このメソッドのパラメータの詳細については、MSDN ライブラリ (http://msdn.microsoft.com/library/ja) で Passport SDK に関するドキュメントの IPassportManager.AuthUrl の説明を参照してください。

メモメモ

AuthUrl2 は AuthUrl よりも優先されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PassportIdentity クラス
PassportIdentity メンバ
System.Web.Security 名前空間

PassportIdentity.AuthUrl メソッド




英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「PassportIdentity.AuthUrl」の関連用語

PassportIdentity.AuthUrlのお隣キーワード

   

英語⇒日本語
日本語⇒英語
   



PassportIdentity.AuthUrlのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS