Windows Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 16 January 2012

Windows Live - Introducere

Posted on 05:42 by Unknown
Windows LIVE series:
  • Introducere
  • Web Authentication
  • Live ConnectLink
  • Basic Operations
  • SkyDrive
Acesta este primul post dintr-o serie de posturi in care osa discutam despre Microsoft Live ID. O sa discutam mai ales din perspectivaunui dezvoltator. Inainte sa incepem sa vorbim despre Live ID, cred ca estenecesar sa vedem ce inseamna OpenID.
OpenID is an open standard that describes how users can be authenticated in a decentralized manner, eliminating the need for services to provide their own ad hoc systems and allowing users to consolidate their digital identities.
Sursa: Wikipedia
Pentru noi, ca si dezvoltatori de aplicatii web, mobile saudesktop acest lucru inseamna ca putem sadezvoltam aplicatii care permit utilizatoriilor sa se autentifice cu un user deLive Id, Facebook, Yahoo, Google. Open ID ne ofera mecanismul prin care putemsa verificam identitatea unui user, userul X este perosana care predinte caeste defapt.
Din cei trei de AAA(Authentification, Autorization, Accounting), OpenID ne ajuta sa rezolvam primulA – Authentification. In general, partea de autorizare si de tracking trebuiesa o facem in interiorul aplicatiei noastre. Uneori exista mai multe sistemecare sunt integrate intre ele, a.i. partea de autorizare se face intr-un singurloc, dar acesta este un caz particular.
Exista mai multe moduri prin care un user se poateautententifica in system folosind OpenId( url, token, password, smart cards,amprenta etc). OpenID fiind un standard nu impune modul prin care un usertrebuie sa se autentifice.
In procesul de autentificare folosind OpenID sunt implicate 3sisteme care comunica intre ele:
  • User device – deviceul de pe care userul vrea sa accesezeaplicatia noastra
  • Identify Provider (OpenID provider) - sistemul pe care il folosim pentruautentificare
  • Relying Party – aplicatia noastra
Scenariul este urmatorul:
Un user doreste sa se autentifice in aplicatia noastra. In locsa introduca user si parola, acesta o sa selecteze Identify Provider-ul pe careil foloseste. Identify Provider nu trebuie sa fie neaparat unul cunoscut.Userul poate sa introduca doar un URL si sa predinta ca URL-ul respective estea lui. Relying party trebuie sa contacteze identify provider si sa asociezerequestul facut de user (in general intre indentity provider si relying partyse face un schimb de token-uri). Dupa acest pas relying party o sa faca unrequest de autentificare la idenfity provider, care o sa deschida o fereastrade log-in la end-user. Userul isi va introduce credentialele lui, care urmeazasa fie verificate de catre identify provider. Dupa acest pas identify providero sa raspunda la relying party daca autentificarea a avut loc cu success. Pebaza acestui raspuns userul se va autentifica in sistemul nostru.
Raspunsul care vine de la identify provider nu o sa vina asaimediat. In functie de cat de repede introduce userul credentialele, raspunsulpoate sa vina in 10 secunde sau in 2 minute. Exista diferite implentari pentrumecanismul prin careidentify provider notifica relying party daca autentificareaa avut loc cu success. In implementarea standard, identify provider apeleazarelying party (se face un submit la o anumita adresa) si ii trasmite dacaautentificarea a avut loc cu success.
Mai jos puteti sa gasiti modul in care se schimba informatia in momentul in care se foloseste OpenID.
1. Send user’s URL
2. Redirect user to get token from OP
3. Get token from OP
4. User post credentials to OP
5. Redirect token is send back to the relying partyusing user device
6. Redirect token is send back to the relying partyusing user device

Dupa cum ati putut observa in schema de mai sus, inate saputem folostii un provider de Open ID este necesar sa ne inregistram la acesta.
In general fiecare identify provider ofera diferitefunctionalitati pe langa cele de baza( informatii suplimentare despre user:nume, sex, varsta, language, etc).
Microsoft Live Id-ul este mecanismul de identify provider pecare il foloseste Microsoft. Acesta nu trebuie folosit doar de catreaplicatiile Microsoft, poate sa fie folosit in orice fel de aplicatie. Existamai multe modalitati prin care ne putem creea un count de Live Id, uneori necream unul fara sa ne dam seama. Daca avem un cont de Hotmail, WindowsMessenger sau .NET Passport atunci deja avem si un cont de LiveId.
Din punct de vedere istoric, prima data a aparut Hotmail,urmat de .NET Passport, iar apoi Windows Live ID. Din 2007 Microsoft a lansatSDK-ul de Live ID prin intermediul caruia orice dezvoltator, putea sa integrezeLive ID in aplicatia lui, indiferent de limbajul si/sau platforma. Din 2008, Microsofta anuntat ca suporta standardul OpenID in totalitate.

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Live Connect, Live ID, Microsoft, Open ID | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Service Bus Topic - Automatic forward messages from a subscription to a topic
    Windows Azure Service Bus Topic is a service that enables us to distribute the same messages to different consumers without having to know e...
  • CDN is not the only solution to improve the page speed - Reverse Caching Proxy
    I heard more and more often think like this: “If your website is to slow, you should use a CDN.” Great, CDN is THE solution for any kind of ...
  • Content Types - Level 6: Rich Media
    Level 6: Rich Media NOTE: This is part 7 of 7 and the conclusion of this continuing series; please see earlier posts for more background inf...
  • Publishing our CellCast Widget for iPad
    The rush has been on this week as our development team worked to design a new version of our CellCast Widget specifically for Apple's up...
  • Patterns in Windows Azure Service Bus - Message Splitter Pattern
    In one of my post about Service Bus Topics from Windows Azure I told you that I will write about a post that describe how we can design an a...
  • E-Learning Vendors Attempt to Morph Mobile
    The sign should read: " Don't touch! Wet Paint !" I had a good chuckle today after receiving my latest emailed copy of the eLe...
  • SQL - UNION and UNION ALL
    I think that all of us used until now UNION in a SQLstatement. Using this operator we can combine the result of 2 queries. For example we wa...
  • Cum sa salvezi un stream direct intr-un fisier
    Cred ca este a 2-a oara când întâlnesc aceasta cerința in decurs de câteva săptămâni. Se da un stream și o locație unde trebuie salvat, se c...
  • Task.Yield(...), Task.Delay(...)
    I think that a lot of person already heard about these new methods. In this post I want to clarify some things about these new methods that ...
  • Content Types - Level 4: Reference
    Level 4: Reference Materials & Static Content NOTE: This is part 5 of 7 in a continuing series; please see earlier posts for more backgr...

Categories

  • .NET
  • .NET nice to have
  • #if DEBUG
  • 15 iunie 2011
  • 15 octombrie 2011
  • 2011
  • abstracta
  • action
  • adaugare
  • ajax
  • Amsterdam
  • Android
  • aplicatii
  • App Fabric
  • Apple iSlate
  • array
  • as
  • ASP.NET
  • AsReadOnly
  • Assembly comun
  • async
  • Asynchronous programming
  • asyncron
  • Autofac
  • AutoMapper
  • az
  • Azure
  • Azure AppFabric Cache
  • Azure backup solution
  • Azure Storage Explorer
  • azure. cloud
  • backup
  • BCP utility
  • bing maps v7
  • BitArray
  • BlackBerry
  • blob
  • BlobContainerPublicAccessType
  • breakpoint
  • bucuresti
  • C#
  • cache
  • CallerMemberName
  • CellCast
  • Certificate
  • CES
  • change
  • ChannelFactory
  • clasa
  • classinitialize
  • clean code
  • click event
  • close
  • Cloud
  • Cluj
  • cluj-napoca
  • Code contracts
  • code retrat
  • codecamp
  • CollectionAssert
  • Compact Edition
  • compara
  • Comparer T .Default
  • CompareTo
  • comparison
  • comunitate
  • concurs
  • Conditional attribute
  • configurare
  • connection string
  • container
  • content type
  • control
  • Convert
  • convertAll
  • convertor
  • cross platform
  • CRUD
  • css
  • custom properties
  • custom request
  • DACPAC
  • Daniel Andres
  • data sync service
  • database
  • date time
  • datetime
  • debug
  • default
  • delegate
  • dependency injection
  • deploy
  • DeploymentItem
  • design patterns
  • Dev de Amsterdam
  • development stoage
  • dictionary
  • diferente
  • digging
  • director
  • Directory.Exist
  • disable
  • dispatcher
  • dispose
  • dropdown
  • dynamic
  • EF
  • email
  • encoding
  • entity framework
  • enum
  • enumerable
  • Environment.NewLine
  • error
  • error 404
  • error handling
  • eveniment
  • event
  • ews
  • excel
  • exception
  • exchange
  • exita
  • explicit
  • export
  • extension
  • field
  • File.Exist
  • finalize
  • fire and forget
  • Fluent interface pattern
  • format
  • func
  • GC.SuppressFinalize
  • generic
  • getdirectoryname
  • globalization
  • gmail
  • hackathon
  • Hadoop
  • handle
  • HTML
  • html 5
  • Html.ActionLink
  • http://www.blogger.com/img/blank.gif
  • HttpModule
  • IComparable
  • IE
  • ienumerable
  • IIS
  • image
  • implicit
  • import
  • int
  • internationalization
  • Internet Explorer
  • interop
  • Ioc
  • IP Filter
  • iPhone
  • iQuest
  • IStructuralEquatable
  • ITCamp
  • itspark
  • java script
  • javascript
  • July 2012
  • KeyedByTypeCollection
  • KeyNotFoundException
  • Kinect SDK
  • lambda expression
  • LightSwitch Microsoft Silverlight
  • linq
  • list
  • lista
  • lista servicii
  • liste
  • Live Connect
  • Live ID
  • load
  • localization
  • lock
  • m-learning
  • MAC
  • Mango
  • map
  • mapare
  • mapare propietati
  • messagequeue
  • meta properties
  • method
  • MethodImpl
  • Metro App
  • Microsoft
  • Microsoft Sync Framework
  • mlearning
  • mlearning devices
  • Mobile Apps
  • mobile in the cloud
  • mobile learning
  • mobile services
  • Mobile Web
  • mongoDb
  • monitorizare
  • msmq
  • multitasking
  • MVC
  • MVC 3
  • MVVM
  • namespace
  • nextpartitionkey
  • nextrowkey
  • Ninject
  • nivel acces
  • no result
  • normalize
  • nosql
  • null expcetion
  • null object pattern
  • NullReferenceException
  • OAuth API
  • office
  • offline
  • Open ID
  • openhackeu2011
  • operations
  • operator
  • optimization
  • option
  • outputcache
  • OutputCacheProvider
  • override
  • paginare
  • pagination
  • path
  • persistare
  • Portable Library tool
  • Post event – CodeCamp Cluj-Napoca
  • predicate
  • predictions
  • prezentare
  • process
  • proiect
  • property
  • propietati
  • query
  • ReadOnlyCollection
  • ReadOnlyDictionary
  • referinta
  • reflection
  • remote
  • reply command
  • request
  • request response
  • resouce
  • REST
  • REST Client
  • RESTSharp
  • ronua
  • rss
  • rulare
  • salvare in fisier
  • sc
  • schimbare timp
  • select
  • select nodes
  • send
  • serializare
  • serialization
  • Server.Transfer. Resposen.Redirect
  • service bus
  • ServiceBase
  • servicecontroller
  • sesiune
  • session
  • Session_End
  • Session_Start
  • setup
  • Sibiu
  • signalR
  • Silverlight
  • sincronizare
  • Single Responsibility Principle
  • SkyDrive
  • skype
  • smartphones
  • smtp
  • Snapguide
  • sniffer
  • socket
  • solid
  • spec#
  • sql
  • Sql Azure
  • SQL CE
  • sql server 2008 RC
  • SRP
  • startuptype
  • stateful
  • stateless
  • static
  • stergere
  • store
  • store procedure
  • stream
  • string
  • string.join
  • struct
  • StructuralEqualityComparer
  • submit
  • switch
  • Symbian
  • Synchronized
  • system
  • tabele
  • table
  • techEd 2012
  • tempdata
  • test
  • testcleanup
  • testinitialize
  • testmethod
  • thread
  • timer
  • ToLower
  • tool
  • tostring
  • Total Cost Calculator
  • trace ASP.NET
  • transcoding
  • tuplu
  • tutorial
  • TWmLearning
  • type
  • unit test
  • unittest
  • UrlParameter.Optional
  • Validate
  • validation
  • verificare
  • video
  • view
  • ViewBag
  • virtual
  • visual studio
  • VM role
  • Vunvulea Radu
  • wallpaper
  • WCF
  • WebBrower
  • WebRequest
  • where clause
  • Windows
  • windows 8
  • Windows Azure
  • Windows Azure Service Management CmdLets
  • windows live messenger
  • Windows Mobile
  • Windows Phone
  • windows service
  • windows store application
  • Windows Task
  • WinRT
  • word
  • workaround
  • XBox
  • xml
  • xmlns
  • XNA
  • xpath
  • YMesseger
  • Yonder
  • Zip

Blog Archive

  • ►  2013 (139)
    • ►  November (17)
    • ►  October (12)
    • ►  September (10)
    • ►  August (7)
    • ►  July (8)
    • ►  June (15)
    • ►  May (12)
    • ►  April (17)
    • ►  March (16)
    • ►  February (9)
    • ►  January (16)
  • ▼  2012 (251)
    • ►  December (9)
    • ►  November (19)
    • ►  October (26)
    • ►  September (13)
    • ►  August (35)
    • ►  July (28)
    • ►  June (27)
    • ►  May (24)
    • ►  April (18)
    • ►  March (17)
    • ►  February (20)
    • ▼  January (15)
      • Dictionary - custom key type
      • MSTEST - CollectionAssert
      • Microsoft Live - Live Connect
      • Windows Live - Web Authentication
      • Code Retreat Sibiu
      • Web application end - how to determine why has sto...
      • Office document and custom properties in .NET 3.5
      • KeyedByTypeCollection
      • MVC3 - After RedirectToAction ViewBag is null
      • Windows Live - Introducere
      • LINQ: ToDictionary
      • ReadOnlyDictionary in .NET 4.0 and 4.5
      • What Is Clean Code?
      • How to normalize text to English base
      • Timer - run action at a specific time interval
  • ►  2011 (127)
    • ►  December (11)
    • ►  November (20)
    • ►  October (8)
    • ►  September (8)
    • ►  August (8)
    • ►  July (10)
    • ►  June (5)
    • ►  May (8)
    • ►  April (9)
    • ►  March (14)
    • ►  February (20)
    • ►  January (6)
  • ►  2010 (26)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  June (2)
    • ►  May (1)
    • ►  April (4)
    • ►  March (1)
    • ►  February (1)
    • ►  January (14)
Powered by Blogger.

About Me

Unknown
View my complete profile